GoldMovies icon indicating copy to clipboard operation
GoldMovies copied to clipboard

RecyclerView List Items does not retain their postition on rotation of screen (configuration change)

Open ashishkharcheiu opened this issue 5 years ago • 0 comments

  • Affected Device(s) [All]

Describe the Bug:

RecyclerView List Items does not retain their postition on rotation of screen (configuration change).

On going potrait --> landscapt --> potrait mode, the list items in recycler view do not retain the position which is clearly a bug and an undesirable behavior.

Expected Behavior:

List Item in reyclerview should retain their position on configuration change. Suppose I scrolled down halfway through the list and on going potrait --> landscapt --> potrait mode, (rotating devide), the list item not scroll back to top.

Since you are using ViewModel, I assumed this would not be the issue. Your TheMovies repo has the same issue.

ashishkharcheiu avatar Feb 12 '20 10:02 ashishkharcheiu