In my list view I can scroll down and add friends, then a request is sent to a server.
Unfortunately then I am also at the start of the list and do not remain at the position. But I want to stay at the [login to view URL] button/text changes from "+Add" to "Pending", but this should happen without going to start of list where data is loaded new from server.
Same thing is when I am in list, then click on a profile to see the detail page. There I can also click add friend. When I go back to list view I am at the start of list again.
I want to be at the position I was and the button/text should be changed. Same like for example in instagram when I scroll through users and I click on follow, there it works like it should.
11 freelancere byder i gennemsnit $98 på dette job
You should store the scroll position in onPause and check for it in onResume of the activity. Just wanted to tell you that. Don't waste your money ¯\_(ツ)_/¯ or I can try to do it for you. Let me know.