Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <controls:CarouselViewControl>
- <controls:CarouselViewControl.ItemsSource>
- <x:Array Type="{x:Type View}">
- <views:PestView>
- <x:Arguments>
- <x:Object> ??? </x:Object>
- </x:Arguments>
- </views:PestView>
- <!-- View 2 -->
- <!-- View 3 -->
- </x:Array>
- </controls:CarouselViewControl.ItemsSource>
- </controls:CarouselViewControl>
- public partial class PestView : ContentView
- {
- public PestView (Crop crop)
- {
- InitializeComponent();
- BindingContext = new PestsViewModel(crop.Specie.Pests);
- }
- }
Add Comment
Please, Sign In to add comment