<How to show the all items in recyclerview when yo...
# stackoverflow
r
How to show the all items in recyclerview when you lock and unlock your phone? Adapter is working fine when first time landed on that fragment.But the items of adapter not showing when I lock my phone and unlock it. When I printed the size and arraylist all data got printed but there is no items showing on the screen. I tried to call notifyDatasetChanged but nothing happend. I want to know the reason that why data is not showing when I lock and unlock the phone after API call and data got successfully loaded.