Hi
I am trying to create a 2 level ui interface structure. I divide the interface structure in 2 part. The base part is to be able to reuse the logic for navigation and clicking operations etc. Then each of the actual pages, specific to the plugin as another part.
I place the menu structure in a separate dll. Then I reference this dll in the actual plugin and just add the menuoption through code. Thereby using a single tag and the code to add the menu options and get a full working menu, and re-useable.
Now I have to do the same thing for content area. (a content page for each menu item), the question is how to model this in mcml?
(to better understand what I am trying to do, is to look at WMC and then look at the Music library. I have duplicated the logic and behavior of this menu and now want to simulate the content pages. Like if you go through the different menu items, you see the layout differs e.g. at “Album artists”. )
I think the repeater is best for this use, so I can get the “slide to the left, when going left in the menu, and slide to the right when going to the right”. Then using the ContentSelector to be able to create different layouts for the different pages. However I fail to specify these content selectors from the addin dll, along with the content elements.
In short: The logic for handle the navigation and behavior is placed in a common dll. The logic for specifying is placed in the specific plugin dll.
I also tried to inherit from “Repeater”, to create my own object, but it seems to be protected.
Hope this makes sense and anyone knows how to do it.
Thanks
Kim