Coder Social home page Coder Social logo

carouseldemo's Introduction

CarouselDemo

Hey, Xamarin.Forms 5.0 is available now. You may want to update Xamarin.Forms version in your running projects. But when you make this update keep this small thing mind: https://ibb.co/NW576ZW

What's new in CarouselView?

When you update Xamarin.Forms with version 5.0 you will notice one thing in CarouselView that though you have 
only single item in the ItemSource carousel will show it in a loop, that will make you think like your data is 
being duplicated, but its not like that. 

Actually now CarouselView have this behaviour by default, that it will show data in loop, so as you reach to the 
last item, it will show first item again and vice versa.

How to handle this default behaviour?

  • As I have mentioned Xamarin has added some new properties to all this Control. So, if you want to change it's default looping behaviour you have to use "Loop" property in xaml

  • Loop is a boolean property which is true by default, so if you set it as false than it will work like as it works before Xamarin.Forms 5

  • If you want to test that, just remove the Loop property which I have set in this sample.

Output:

Click Me!

Reference:

carouseldemo's People

Contributors

divyesh08 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.