Closed josh-burton closed 9 years ago
As see here (http://stackoverflow.com/questions/31023977/android-espresso-viewpager-does-not-have-adapter-instance), it seems PagerSlidingTabStrip has issues with running in an espresso instrumentation unit test.
It throws the following error:
ava.lang.IllegalStateException: ViewPager does not have adapter instance. at com.astuetz.PagerSlidingTabStrip.setViewPager(PagerSlidingTabStrip.java:177) at
Even though when debugging, the adapter is definitely created, and set.
Any ideas?
As see here (http://stackoverflow.com/questions/31023977/android-espresso-viewpager-does-not-have-adapter-instance), it seems PagerSlidingTabStrip has issues with running in an espresso instrumentation unit test.
It throws the following error:
ava.lang.IllegalStateException: ViewPager does not have adapter instance. at com.astuetz.PagerSlidingTabStrip.setViewPager(PagerSlidingTabStrip.java:177) at
Even though when debugging, the adapter is definitely created, and set.
Any ideas?