android - Delete item in listview and then refresh it -


I have the following code that uses a button which removes in a list view I values ​​(url) To store, I use a shared environment variable that indicates images displayed in the list view. Each image has this button that allows it to be removed from the list view:

  viewHolder.buttonHolderBorrar.setOnClickListener {NewOnClickListener} {@Override Click Public Zero (see V) {// TODO Auto-generated Stub ShareProfiction.Aditor Prefetch = MC.StextGetSharePrians ("Prefthth", ListaiimensSubidasMan.MODDPRIVAT) .edit; Prefthths Revove ("url" + position); PrefthHDTT (); Shared References. Shared Senders = Preference Manager. Gate default shared references (MContext). Edit (); Shared References Extract ("URL" + position); Shared references. Notify dataet ();}});  

I suggest that the dataet update changes the list view and repeats it again after the button is pressed. In this case, what do I have to do to refresh the list view?

Thank you in advance


Comments

Popular posts from this blog

c# - SignalR: "Protocol error: Unknown transport." when navigating to hub -

class - Kivy: how to instantiate a dynamic classes in python -

java - Algorithm negotiation fail SSH in Jenkins -