super.onCreate(savedInstanceState);
setContentView(getContentView());
setSupportActionBar((android.support.v7.widget.Toolbar) findViewById(R.id.toolbar));
getSupportActionBar().setElevation(0);
pager = (ViewPager) findViewById(R.id.vp_pages);
<BUG>pager.setOnPageChangeListener(this);

slidingTabsLayout = (TabLayout) findViewById(R.id.sliding_tabs_layout);
}</BUG>
@Override

super.onCreate(savedInstanceState);
setContentView(getContentView());
setSupportActionBar((android.support.v7.widget.Toolbar) findViewById(R.id.toolbar));
getSupportActionBar().setElevation(0);
pager = (ViewPager) findViewById(R.id.vp_pages);
pager.addOnPageChangeListener(this);
slidingTabsLayout = (TabLayout) findViewById(R.id.sliding_tabs_layout);
}
@Override
protected void onDestroy() {
super.onDestroy();
pager.removeOnPageChangeListener(this);
}
@Override
