I\'m trying to test, if newly created Activity (after orientation change) is properly reinitialized. The code below shows that activity returned from getActivity() is t
Instead of
MyActivity newActivity = getActivity(); //should be new, but it's not
Try
MyActivity newActivity = instrumentation.startActivitySync(intent);
I think this method maybe help you