I have a ListView where I often swap in and out various adapters of various types. Some adapters display items of varying types.
When onItemClick() is called, I check to see which adapter is being used and then direct flow control accordingly. Further querying/inspecton of the adapter is sometimes required when the adapter contains items of varying types. However, it seems that the ListAdapter knows best what it is displaying and so is better placed to handle the click method than the ListView. OTOH, maybe the adapter is purely there to "adapt" one type of data to another and so click logic should be handled elsewhere. Any thoughts? -- 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

