Android Question Listview insert/edit

slugger

Member
Licensed User
Longtime User
Hello everyone,

I see that the Listview has a RemoveAt method but apparently there is no corresponding InsertAt or ModifyAt.

I need to modify a value at a specific position of the Listview, how do I edit that item without the need of another temporary Listview to copy to and retrieve the data from?

Thanks in advance.
 
another temporary Listview
Use a regular list, not listview, as the source to your listview data. Modify the data in the list and then clear the listview and add all items from the list.
 
Upvote 0
Back
Top