public void selectTab(int newPosition) {
        selectTab(newPosition, true);
    }
Should be called only after initialization of BottomBar(i.e after calling initialize method)

@param newPosition to select a tab after bottom navigation bar is initialised
common/src/main/java/com/sxjs/common/widget/bottomnavigation/BottomNavigationBar.java