Fix deprecated codes
This commit is contained in:
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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user