message: Checked view pager is not null
diff: @@ -69,10 +69,12 @@ public class TabLayoutView extends TabLayout implements TabView {
  @Override
  public void onTabReselected(Tab tab) {
  + if (viewPager != null) {
  View tabBarItem = ((TabBarView) viewPager).getTabAt(0);
  if (tabBarItem instanceof ScrollView)
  ((ScrollView) tabBarItem).smoothScrollTo(0, 0);
  }
  + }
  };
  addOnTabSelectedListener(tabSelectedListener);
  }
  