public void clearAll(){
  mTabContainer.removeAllViews();
  mBottomNavigationTabs.clear();
  mBottomNavigationItems.clear();
  mBackgroundOverlay.setVisibility(View.GONE);
  mContainer.setBackgroundColor(Color.TRANSPARENT);
  mSelectedPosition=DEFAULT_SELECTED_POSITION;
}

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
