|
|
@@ -343,7 +343,9 @@ public class BottomTabsLayout extends BaseLayout implements AHBottomNavigation.O
|
|
343
|
343
|
}
|
|
344
|
344
|
|
|
345
|
345
|
public void selectBottomTabByTabIndex(Integer index) {
|
|
346
|
|
- bottomTabs.setCurrentItem(index);
|
|
|
346
|
+ if (bottomTabs.getCurrentItem() != index) {
|
|
|
347
|
+ bottomTabs.setCurrentItem(index);
|
|
|
348
|
+ }
|
|
347
|
349
|
}
|
|
348
|
350
|
|
|
349
|
351
|
public void selectBottomTabByNavigatorId(final String navigatorId) {
|