On Sat, Mar 10, 2012 at 8:15 AM, RedBullet <[email protected]> wrote:
> So that brings up a really good point. I can think of a couple of
> circumstances when the item I want to modify might not have been rendered
> yet so there may not be a view for it. Is there a way to have it rendered so
> I can get the view? Or possibly, since this is not a large list, for the
> entire list to be rendered?

Step #1: Teach your *adapter* how to tailor the views based upon state

Step #2: Call notifyDataSetChanged() on the adapter whenever that state changes

Never never never never never never never adjust Views in an
AdapterView *except via the adapter*.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

_Android Programming Tutorials_ Version 4.1 Available!

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

Reply via email to