I am using github.com/PrismLibrary/Prism/tree/master/Sandbox/Xamarin/HelloWorld to implement MasterDetail using Prism.
I have successfully ran the example and all is fine but the menu is covering phone top notification area. How can I solve this?
Please see the issue here
In Xamarin example https://developer.xamarin.com/samples/xamarin-forms/Navigation/MasterDetailPage/
this issue is not happending.
Do I have to do some addition trick with Prism that is not done in HelloWorld example?
Thanks
Tadas
That is an old sample that does not use Material Design. All the newer Xamarin.Forms templates utilize material design which result in the master showing over the topmost bar. You could also try playing with the MasterBehavior property to control how the master behaves.
Related
I am new in xamarin Forms, I want to do Custom Carousel View by making part of previous item and part of next item in Carousel List show with the current item in list.
I Found this plugin make exactly my need [https://github.com/NAXAM/carousel-xamarin-forms ]
But this work for Android only, i want like that for ios also.
You can try this source: https://www.nuget.org/packages/CarouselView.FormsPlugin/
I tried and it worked the same as Naxam's library but more stable.
You can check https://github.com/sthewissen/KickassUI.ParallaxCarousel
Here is the tutorial https://www.thewissen.io/creating-a-parallax-carousel-in-xamarin-forms/
I want to implement a menu using a masterdetail page with caliburn.micro, but the only documentation i managed to find is this.
I know I have to use a NavigationPage inside MasterDetailPage.Detail and load my views into that, but I can't find any example of how MasterDetails composition works and how can I navigate from view to view (for example, for prism there's this).
Any help would be appreciated.
All,
I am trying to use syncfusion data grid in xamarin forms now.I have installed trial version as of now. I have created demo from this link
All is fine.I have added all references,no errors at all. but it doesn't shows the datagrid in output( i am using vs inbuilt emulator).it just shows the blank screen like
I couldn't find anything wrong what I have done in my code from above link.its really simple but still why I am not getting output.please help.
Thanks in advance
If you load SfDataGrid directly as a child, the grid will be loaded. If you want to load SfDataGrid inside a ScrollView or a StackLayout, refer the below UG link to achieve it,
https://help.syncfusion.com/xamarin/sfdatagrid/getting-started#launching-the-sfdatagrid-inside-a-stacklayout
Also, you can refer our KB link below to achieve your requirement.
https://www.syncfusion.com/kb/6169/how-to-load-sfdatagrid-in-a-stacklayout
If you need further assistance, please create a new support incident, using our direct trac system.
https://www.syncfusion.com/account/login
-Divakar
I am testing the deeplinking feature of the Prism Forms framework. I currently have a situation where I have a MasterDetailPage with a menu as Master. When I click the menu items, the Details should change to specific pages with a clean NavigationPage as container.
When I check the Sandbox example for Prism Forms, it shows an example for MasterDetail navigation, but not including navigation pages.
So I have this (absolute) deeplink structure at startup: /MasterDetailPage/NavigationPage/MyFirstPage
Then I want the second menu item to link to a fresh NavigationPage:
/MasterDetailPage/NavigationPage/MySecondPage
My current workaround is to do absolute deeplinking, but I was wondering if there is a better way? The Prism PageNavigationService checks to see if the segment type is the same as the current detail type. But since these are both NavigationPages, it tries to add the new page in the already existing NavigationPage. At that moment it also kills the menu-icon (at least on iOS).
Actually, the Sandbox app does use NavigationPages in the MasterDetail: https://github.com/PrismLibrary/Prism/blob/master/Sandbox/Xamarin/HelloWorld/HelloWorld/HelloWorld/Views/MyMasterDetail.xaml
Prism reuses the detail page for performance reasons, but it doesn't work like you think it does. While it does add the new page to the NavigationPage's NavigationStack, it also removes the previous page from the stack. This keeps the NavigationStack in the proper state.
The icon behavior you are seeing is because of a confirmed bug in Xamarin.Forms. You can follow the issue here: https://bugzilla.xamarin.com/show_bug.cgi?id=41038
As soon as Xamarin fixes this bug, I will publish the fix to Nuget. In the mean time, the only way to get around this is to fork the Prism code base and remove the Page type check.
I've noticed that cocos2d doesn't story board like in Xcode 4. I wanted to add a slider form which you control the player's movement/movement speed across the iPhone screen. How can i add slider and hook it up to the sprite movement/movement speed. Thanks for your help.
You use the CCUIViewWrapper custom class.
Here is the link for it: CCUIViewWrapper github
And here is a tutorial how to use it: Tutorial Youtube