John Herdean
Posts: 0
Joined: Tue May 14, 2013 3:56 am

Can i use the same name for more than one element in my project??

mainly for labels, text areas, and input texts (each label/text on a different layout in my project)

I see that for buttons i cannot because they will call up the same event when i need different events for each button.

Like in native Xcode - its fine. In Eclipse its not fine. So in here, how is it for labels/text areas/input texts??

When Im assigning names, I would utilize them to easily associate them in the request parameters so they can be easily mapped to a specific REST service.

I hope my question is clear, if not just let me know. Thanks

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Can i use the same name for more than one element in my project??

Hello! Component's names should be unique for on each page.

John Herdean
Posts: 0
Joined: Tue May 14, 2013 3:56 am

Can i use the same name for more than one element in my project??

so as long as they are unique on the respective page - it doesnt matter if Im using the same name for a label (for example) on more than one page?

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Can i use the same name for more than one element in my project??

Yes, because on preview (after you click the Test button) each component has name and ID which consists of screen name and component name.

John Herdean
Posts: 0
Joined: Tue May 14, 2013 3:56 am

Can i use the same name for more than one element in my project??

this is what i thought. I just wanted to make sure. Thank You.

Return to “Issues”