• Post Reply Bookmark Topic Watch Topic
  • New Topic

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

John Joe
Ranch Hand
Posts: 145
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


What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!