Hi, Mark, I will go and extend the Adapter for full flexibility. Thanks for your recommendation.
--elephantbug On Sep 18, 5:41 am, Mark Murphy <[EMAIL PROTECTED]> wrote: > elephantbug wrote: > > It works fine. Now my question is how to differentiate those populated > > TextView? Do they have different IDs? > > As you have it implemented, not really. Technically, they might, but I > don't think you have any way to get at them by ID. > > Why do you need to differentiate between those populated TextViews? > > > If the list item is a complex view withcheckBoxor radio button, how > > can we check their status/state respectively? > > My recommendation, for this scenario, is to create your own adapter > subclass and override getView(), so you can hook up appropriate > listeners and whatnot to your list rows. > > I have a seven-post series on AndroidGuys covering this topic and > related issues. (BLATANT COMMERCIAL PLUG FOLLOWS) These are also rolled > up into a chapter in my book. > > The most recent post in the series is up to date for the 0.9 SDK: > > http://androidguys.com/?p=659 > > However, it probably assumes you've read the first six. Scan through the > category: > > http://androidguys.com/?cat=7 > > and look for the "Fancy ListViews" posts. > > Also, as the most recent post hints, the Android 1.0 SDK should have a > fully-functioning checklist implementation -- the guts are there in 0.9, > but there are bugs preventing it from working properly. Sometime after > 1.0 ships, I'll write up more on the checklist. > > -- > Mark Murphy (a Commons Guy)http://commonsware.com > Warescription: All titles, revisions, & ebook formats, just $35/year --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

