public void clearAll ( ) { mTabContainer . removeAllViews ( ) ; mBottomNavigationTabs . clear ( ) ; mBottomNavigationItems . clear ( ) ; mBackgroundOverlay . setVisibility ( View . GONE ) ; mContainer . setBackgroundColor ( Color . TRANSPARENT ) ; mSelectedPosition = DEFAULT_SELECTED_POSITION ; }
Clears all stored data and this helps to re - initialise tabs from scratch