Open achson opened 10 years ago
I'm indeed not BraisGabrin, but I'll try to help you ;)
If I understand you right, you want to be able to modify the data set, which fills the Views returned by getView(..)
and trigger an update/refresh of the affected views. Is this correct?
If so, you can use notifyDataSetChanged()
to trigger an update after your data has been modified.
yes, it is. could you give me how to use it ? if you could give an example. i'll help me to understand more.
You just have to call notifyDataSetChanged()
of the adapter's instance (adapter.notifyDataSetChanged() or within your adapter's code) you are using after you have modified your data array/list/map/whatever. It depends on the way you are using to store data associated with an adapter.
I don't know how you populate data to an adapter, so I cannot give you a generic example.
Hi BraisGabrin,
First of all, I would to say thanks to your library. Since I was using it to my project. In my project, I wanna create dynamic data to layout in row 0 && column 1 and row 1 && column 1. I had created the original data. When I open table, the data is displaying in layout. I have checkbox. When I was clicked, it'll saving the original data. I've compare button too. When I was clicked, it'll remove display original data currently. So, the saving data will displaying in layout.
I wanna asking you about this issues. Is there any function to solve this issues ? Please help me.
Thanks