is it possible to set a variable from an activity that an Espresso Test is running on? Because when I try to set a variable like:
activityRule.getActivity().mViewPager.setCurrentItem(1);
I get the error:
lStateException: Must be called from main thread of fragment host
Aucun commentaire:
Enregistrer un commentaire