• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to edit previous listView instead of add a new one?

 
John Joe
Ranch Hand
Posts: 55
Android Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have one icon button and one listView in Activity A.

Icon button-----> intent to B, return value to A, add to new list

ListView click--> intent to B, return changed value back to listView

I use mClickedPosition=-1; to verify whether icon is clicked or listView,but it still add to new list even the listView is clicked.

Activity A





MyCustomBaseAdapter

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic