java - Save state of recyclerview list -


i created list using recyclerview in 1 activity. user dynamically removes of items he/she doesn't list problem arises when navigates activity. activity retrieves data items,including ones removed. how make sure recyclerview list retains state user left in?

the problem in list using. need use activity's list reference in adapter too, don't create different list in adapter save activity's list reference in adapter.


Comments

Popular posts from this blog

twig - Using Twigbridge in a Laravel 5.1 Package -

jdbc - Not able to establish database connection in eclipse -

Kivy: Swiping (Carousel & ScreenManager) -