Gorilla-Player-Support
Gorilla-Player-Support copied to clipboard
Possibility of excluding preview on certain pages
Hi,
I would like to know if there is/can be a feature to exclude certain page from being previewed by Gorilla (not the exclusion of navigationPage). So when you navigate to this page, Gorilla will just show a "Excluded" message and will not preview this page. This is for preventing certain limitations (some thirdparty libraries that are cannot initialized correctly with Gorilla player, and will cause the player to crash when it previews the page) that may result in crashing of the player.
Thanks, SY
@ShiroYacha currently we don't provide such a feature.
Can you describe a bit more what are those libraries you are not able to preview?
Hi, thanks for the quite response. Actually you are right, maybe to fix the source of the issue is more efficient.
For my problem, an example is to use Iconize:IconLabel, the label text must be set otherwise there will be an exception (we can argue that this is a problem with the library). However, when I try to create a custom control and use a bindable property to set the label text:
Text={Binding Source={x:Reference Root}, Path=IconText}
I cannot really set it in the design-time data. And the default BindableProperty text does not work... So if I try to preview the custom control, the player will crash...
Maybe I am doing it wrong?