|
@@ -432,7 +432,9 @@ public class ActionBarManager {
|
|
|
actionBarTitle.setOnClickListener(null);
|
|
actionBarTitle.setOnClickListener(null);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- ((RadioButton) categoryMainTab.getChildAt(newBuilder.selectedCategoryIndex)).setChecked(true);
|
|
|
|
|
|
|
+ if(newBuilder.selectedCategoryIndex > -1) {
|
|
|
|
|
+ ((RadioButton) categoryMainTab.getChildAt(newBuilder.selectedCategoryIndex)).setChecked(true);
|
|
|
|
|
+ }
|
|
|
categoryMainTab.setOnCheckedChangeListener((radioGroup, i) -> {
|
|
categoryMainTab.setOnCheckedChangeListener((radioGroup, i) -> {
|
|
|
int selectIndex = categoryMainTab.indexOfChild(appBarLayout.findViewById(radioGroup.getCheckedRadioButtonId()));
|
|
int selectIndex = categoryMainTab.indexOfChild(appBarLayout.findViewById(radioGroup.getCheckedRadioButtonId()));
|
|
|
//Log.e("APP# ActionBarManager | init", "|" + selectIndex);
|
|
//Log.e("APP# ActionBarManager | init", "|" + selectIndex);
|