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
Post a Comment