Forums Register Login

Is there any way to update the arrays in an adapter for listview

+Pie Number of slices to send: Send
hi....
i want to update the arrays iam using in adapter class for generating listview when new data is entered.

please help.


as when i load the listview in android it gives output but when i add an element den the listview is not updated
please suggest some idea for the problem mentioned
+Pie Number of slices to send: Send
Try calling notifyDataSetChanged() on the adapter.
Stinging nettles are edible. But I really want to see you try to eat this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 691 times.
Similar Threads
Help me java.lang.IllegalStateException
Update the List View at run time
ListView getView() problem
Refreshing jQuery Mobile listviews
how to remove ListView Activity Lines in Android
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 03:07:38.