Page 1 of 1

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

Posted: Thu May 16, 2013 1:49 pm
by John Herdean

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


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

Posted: Thu May 16, 2013 4:14 pm
by Maryna Brodina

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


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

Posted: Thu May 16, 2013 4:21 pm
by John Herdean

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?


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

Posted: Thu May 16, 2013 4:34 pm
by Maryna Brodina

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


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

Posted: Thu May 16, 2013 4:48 pm
by John Herdean

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