Showing view only for Addons
#1
Hello

Would Like to show a View only if the Content are Addons (In Addonbrowser) so i set the "<visible>" to

Code:
<visible>Window.IsVisible(AddonBrowser) + Container.Content(Addons)</visible>

but the view is also selectable while choosing Addon Cathegories (MusicAddons, Pictue Addons and so on)

Did i do a Mistake, or did i just misunderstand the wiki
Quote:also available are Addons true when a list of add-ons is shown
, ?

However are there Workarounds?

did already try "!ListItem.IsFolder" which works as long the "Backbutton" isnt on focus (which cause in this case the whole view to disapear)

Regards.


--------------------

EDIT:


looks horrible that way:
Image
Reply
#2
I used !IsEmpty(Container.FolderPath) for fTV.
Reply
#3
Thanks for the reply

"!IsEmpty(Container.FolderPath)" didnt work, but "Container.HasFiles" did the trick for me.

Thanks
Reply

Logout Mark Read Team Forum Stats Members Help
Showing view only for Addons0