Change Value Of Listitem Onitemclick
I want to change the value of listItem when that listItem is clicked. I have provided the code below. public class MyListDialogExampleActivity extends Activity implements OnItemCli
Solution 1:
you need to use the parameters sent to you on the onItemClick , so that you take the i-th element in the array you've used , change its value , and in the end , notify the adapter that the data has changed by using notifyDatasetChanged.
Post a Comment for "Change Value Of Listitem Onitemclick"