Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 58056

Configuring CarouselView Sample from XLabs

$
0
0

Hi All, I am an android dev (bit of iOS dev too), who is trying his hand on Xamarin(C#) for a cross-platform(Android & iOS) project. The first requirement of the project is to have a Carousel Page(around 21 pages). Tried Forms - CarouselPage but as it can't be added to another layout, thought I would best use XLabs CarouselView. Here are the steps that I followed to create a sample app:

1) Created a BlankApp Forms Portable Project (CarouselSample) in XStudio.

2) Added XLabs Core nuget package(pre 1.2.1) into all the projects(Common, Android & iOS)

3) Added slight modified CarouselSample.xaml & CarouselSample.xamal.cs code file(attached too) from XLabs Carousel Sample github.
4) Build and deployed, but it gives me the following error.

[MonoDroid] UNHANDLED EXCEPTION:
[MonoDroid] Xamarin.Forms.Xaml.XamlParseException: Position 16:12. Type lc:DataTemplateWrapper not found in xmlns clr-namespace:Xamarin.Forms.Labs.Controls;assembly=Xamarin.Forms.Labs

Any help, in how to get this working? Thanks very much.

NB: I opened the References->From Package->Xamarin.Forms.Lab to check and couldn't find the said CarouselView or TemplateSelector files in the package too. (Any issues here?)


Viewing all articles
Browse latest Browse all 58056

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>