Any guidance on implementing step #1? There must be a tutorial or example I can look at?
Thanks in advance! On Saturday, March 10, 2012 8:41:53 AM UTC-5, Mark Murphy (a Commons Guy) wrote: > > On Sat, Mar 10, 2012 at 8:15 AM, RedBullet <> 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 android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en