Code cleanup
This commit is contained in:
1 parent
6f2868f7c3
commit
cdfb3b74b3
57 files changed
+342
-357
No files matched your search
@@ -94,8 +94,7 @@ public class RadioGridGroup extends SimpleGridLayout {
|
||||
|
||||
@Override
|
||||
public void addView(View child, int index, ViewGroup.LayoutParams params) {
|
||||
if (child instanceof RadioButton) {
|
||||
final RadioButton button = (RadioButton) child;
|
||||
if (child instanceof final RadioButton button) {
|
||||
if (button.isChecked()) {
|
||||
mProtectFromCheckedChange = true;
|
||||
if (mCheckedId != -1) {
|
||||
|
||||
Reference in new issue
Block a user