The docs state that the id need not be unique within the same Views subtree that you are searching on.
Anil On Oct 28, 3:58 am, Kumar Bibek <[email protected]> wrote: > What's your usecase? That will help us understand your problem better. > > On Oct 28, 11:10 am, Mutturaj <[email protected]> wrote: > > > Hi All, > > > I have checked setId() method of the view, it accepts integer > > parameter. > > But there are possibilities of assigning same id to different views, > > which may > > create problem for me while i do findViewbyId(). > > > My question is "How to set unique id to the view programatically??" > > > Thanks, > > Ajj -- 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

