chrisriesgo / xamarin-forms-carouselview

A Xamarin.Forms custom control recipe that mirrors the functionality of the CarouselPage - except the "pages" are simply Content Views.
147 stars 62 forks source link

How can I use this lib? #12

Open fcogutierrez opened 8 years ago

fcogutierrez commented 8 years ago

Hi.

First of all, thanks for your work, is just what I need :), but I don't know how to use in my Xamarin.Forms project, could you help me?

Thanks.

chrisriesgo commented 8 years ago

Hi, @fcogutierrez. I hope you can find this example useful. That said -- that's just what this is -- an example. To use this in your own project, you would need to copy the code I have in my CarouselLayout.cs class, then implement the platform-specific renderers in your app's platform-specific projects. This repo is an example of how to do that.

Ideally, I would like to package up the control into a NuGet package for easy inclusion into your project, but there's a lot of cleanup to do. I'd like to do that, but the Xamarin.Forms team is also working on a Carousel view control in the next update. Not sure if that would meet your needs.