question: void removeAllViewsFromAdapter ( ViewPager pager ) { mViews . clear ( ) ; pager . removeAllViews ( ) ; mIsViewPagerInIntentionallyInconsistentState = true ; }
target:  Remove all the views from the adapter and de-parents them from the ViewPager After calling this, it is expected that notifyDataSetChanged should be called soon afterwards.