我在leanback BrowseFragment中发生了这种奇怪的崩溃。快速滚动行时会发生这种情况。你知道如何防止这次崩溃吗?
private bool MaskValidateChar(KeyPressEventArgs e, int index)
{
string c = e.KeyChar.ToString();
if (Char.IsUpper(c[0])) //Need to this with TypeScript :-\
{
//Do Something....
}
}