samedi 19 avril 2014

how to fade out an item form a listView using adaper?


Vote count:

0




I have an android activity which fills a list view using custom adopter.


The adopter has its logic. It sets (dynamically) an OnClickListener on a button on every item in the list.


the listener should remove the current item from the list.


how can I refresh the data after removing?


here is my code. it's problematic as I cannot attach the new adapter to the list as they are not in the same file and the onclick is defined in the adapter itself not from the outside.



asked 52 secs ago






Aucun commentaire:

Enregistrer un commentaire