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

powershell Start-Process exit code -1073741502 when used with Credential from a windows service environment -

twig - Using Twigbridge in a Laravel 5.1 Package -

c# - LINQ join Entities from HashSet's, Join vs Dictionary vs HashSet performance -