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

gcc - MinGW's ld cannot perform PE operations on non PE output file -

timeout - Handshake_timeout on RabbitMQ using python and pika from remote vm -

c# - Search and Add Comment with OpenXML for Word -