I observe a weird exception thrown on line:
viewPager = (ViewPager) view.findViewById(R.id.pager);
the exception looks as follows:
java.lang.ClassCastException: android.support.v4.view.ViewPager cannot be cast to android.support.v4.view.ViewPager
I can't reproduce it, but it happens sometimes according to logs.
The app uses official multidex build with gradle.