You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Changing orientation while viewing a file shows the template fragment_media_detail
The text was updated successfully, but these errors were encountered:
domdomegg
changed the title
Turning to landscape mode resets fragment_media_detail
Changing orientation in media detail view resets fragment_media_detail
Mar 5, 2017
Had a deeper look, caused in MediaDetailFragment.java#L131. Normally, media is never null, however when onCreateView is called after orientation change it is for some reason.
index is the same regardless of how onCreateView was called, so it has to be something about detailProvider
Some more information for troubleshooting, when onCreateView is called normally, getTotalMediaCount returns 468 (the number of files I have uploaded). When called from orientation change it returns 0.
Changing orientation while viewing a file shows the template fragment_media_detail
The text was updated successfully, but these errors were encountered: