we are using a custom adapter only. in the adapter in getview method we are setting a tag for the first time. "isSelected" as falseand on click we change the tag value as true and invalidating the listview with invalidateviews. so we are making ui changes in the row layout based on this tag value. But the problem we are facing now isif i click on first item the change happens on some other row layout. some problem while reusing the layout we guess. any one have any idea regarding this.
Don't do it this way... Do it the way I described in my first reply to your question.
Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware
On Sun, Aug 12, 2012 at 8:03 AM, Jovish P <android.fryo@gmail.com> wrote:
we are using a custom adapter only. in the adapter in getview method we are setting a tag for the first time. "isSelected" as falseand on click we change the tag value as true and invalidating the listview with invalidateviews. so we are making ui changes in the row layout based on this tag value. But the problem we are facing now isif i click on first item the change happens on some other row layout. some problem while reusing the layout we guess. any one have any idea regarding this.
--
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