Tom wrote:
> Can someone tell me what would be the outcome of using findViewById
> when multiple child views have the same ID lets say for example when
> using a layout to dynamically produce multiples of the same control?

Random chance as to which one you will get.

If you need one for a specific, say, row, call findViewById() on the row
View to find that View's child with the common name.

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

Android Development Wiki: http://wiki.andmob.org

--~--~---------~--~----~------------~-------~--~----~
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