issues
search
jasonscott5391
/
udacity-android-developer-nanodegree
0
stars
0
forks
source link
App Crashes for Empty Movie List View Model After Device Rotation
#33
Closed
jasonscott5391
closed
6 years ago
jasonscott5391
commented
6 years ago
Per Udacity review...
App crashes if there is no network connection on startup and then the user rotates the device:
When there is no data held in GridLayoutManager, -1 is returned for current position which is stored when instance state is saved.
Add check for -1 position and default to 0.
Per Udacity review...