Custom Carousel view Xamarin forms - xamarin.forms

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/

Related

Xamarin.Forms Introduction Guid

I finished the functionalities of my app. Now when user first time login i need to make introduction guide on every page, with a short text Myabe some alert. Also on the dialog need chechbox , if he check the guide wont show again. I dont know where to start and how to organize this. Any example, practise to start. On all the dialogs will be static text.
You can refer any sample which guides you to create Tutorial Screen.
You can use built in Carousel View to have that as well.
Here I'm sharing one of that: How to add tutorial screen in Xamarin.Forms
Edit
To add it on every single page, you can use custom Popup, which can be created using Rg.Plugins.Popup

UI issue with Prism MasterDetail implementation

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.

Can I customize Electron tray app?

I'm trying to make my small app in a tray of OSX that will show some info.
The problem is that standard Menu lib allows me to create "natively" looking menus, when I want to make something that looks like this: (screenshot)
Is there a way to create some custom menu items with cells and images or should I create custom window giving the look I want using css? My biggest concern is translucency.
Now I just create it using tempate with Menu.buildFromTemplate. Mayb I'm doing it completely wrong.
Yes, you'll need to create a custom window, you can't create custom menu items via the Electron Menu API.
For your purpose you can use the following package to easily create a custom menu bar application: https://github.com/maxogden/menubar.
Just design your own index.html and custom logics and your are ready to go further.

syncfusion datagrid in xamarin forms

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

MasterDetail and NavigationPage deeplinking in Prism Forms

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.

Resources