Win a copy of Getting started with Java programming language this week in the Beginning Java forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

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

 
John Joe
Ranch Hand
Posts: 200
2
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
Boost this thread!