Fix deprecated codes

This commit is contained in:
NekoInverter committed 2021-01-24 17:28:16 +08:00
1 parent 9128fdb523
commit d12961418a
51 files changed
+157 -1314

No files matched your search

@@ -144,7 +144,7 @@ public class RadioGridGroup extends SimpleGridLayout {
private void setCheckedStateForView(int viewId, boolean checked) {
View checkedView = findViewById(viewId);
if (checkedView != null && checkedView instanceof RadioButton) {
if (checkedView instanceof RadioButton) {
((RadioButton) checkedView).setChecked(checked);
}
}