Monday, August 13, 2012

Re: [android-developers] Re: How to dynamically change row layout of list view on click event

On Monday, August 13, 2012 4:05:55 AM UTC-4, Jovish P wrote:

Justin Anderson , how to set clicked status on the adapter for the clicked item ? Can you explain a little bit more if you don't mind. It will be a great help for us.

Thanks ,
Jovish
What he means is that you should add a boolean in your data model for list items and use that instead of setting a tag in the view. What you are doing is storing your data in your view which is wrong from an MVC point of view.

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment