using a same view more than once
am i right when i assume that only one instance of a view can be visible?
when i try to place the same view twice in a window, even when inside of different containers, i can only see it in the first container…
thanks
2 Answers
-
Accepted Answer
On Android more specifically, a view may be attached in the view hierarchy only ONCE. It will throw an exception.
-
Marcin
Yes, that is expected - only one instance of an individual object can appear on screen at a time. You can create the effect of a replica of an object, but if you capture the click using an event to output source property value ( ie T.API.info('You just clicked: '+e.source) ), you will see that it's actually a new/different proxy.
I hope this makes sense. :)