@Override
    protected void onAttachedToWindow() {
        super.onAttachedToWindow();

        if (mViewPager != null) {
            scrollToTab(mViewPager.getCurrentItem(), 0);
        }
    }
Create a default view to be used for tabs. This is called if a custom tab view is not set via
{@link #setCustomTabView(int, int)}.
SwipeRefreshMultipleViews/Application/src/main/java/com/example/android/common/view/SlidingTabLayout.java