Code cleanup

This commit is contained in:
tarsin committed 2022-11-20 20:57:16 +08:00
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) {