|Re: how to share View in Multi Perspective [message #1066571 is a reply to message #1007099]
||Wed, 03 July 2013 08:35
| Mateusz Malinowski
Registered: March 2013
Daniel is right.|
As far as I understand, if the part is declared in each perspective, then it is created multiple times, but if you declare it in sharedElements, then you can use PlaceHolders in any perspective and set reference to this single part. In this case, there is always only one instance of the part (well, unless you close all placeholders, then this part is destroyed, but still can be created when you open it again).
Note: if you create a new perspective in different plugin and you put there a placeholder and you want to set reference to the part from sharedElements of the main app, you might not find there anything. I can't remember what was the problem, I believe there is some issue with the "find", that it only search within current plugin, while it should seatch also withing plugins, on which current project depends. Anyway, what I do, is to create a separate addon in which I manually set references to the placeholder.
You you still need some example, I may try to prepare one for you within next few days.
Powered by FUDForum
. Page generated in 0.05456 seconds