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

Is there something like a ViewPager for for Xamarin.Forms.

$
0
0

Hello,

I'd like to know if there is something that behaves like the ListView in Xamarin.Forms, but looks like some sort of ViewPager.

By behaves the same way as the ListView I mean:

  • Tie a ViewModel to it and automatically bind to properties of it:

     listView.ItemsSource = ViewModel.Items;
    
  • Takes care of scrolling and has a ItemTapped event

  • Has some sort of template setter:

     var cell = new DataTemplate(typeof(TextCell));
                cell.SetBinding(TextCell.TextProperty, "Title");
                cell.SetBinding(TextCell.TextProperty, "Description");
                listView.ItemTemplate = cell;
    

By looks like some sort of ViewPager I mean:

  • Vertical and horizontal orientation and scrolling
  • Per page scrolling

Is there any implementation of this available? If there isn't, can anybody point me to the direction I need to go?

If I have to implement this myself, I have an ideas about it:
- Override the ListView myself and change the behaviour of it.


Viewing all articles
Browse latest Browse all 58056

Trending Articles



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