MobileList.xaml 1.1 KB

123456789101112131415161718192021222324252627282930
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <ContentView
  3. xmlns="http://xamarin.com/schemas/2014/forms"
  4. xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
  5. xmlns:ui="clr-namespace:XF.Material.Forms.UI;assembly=XF.Material"
  6. xmlns:local="clr-namespace:InABox.Mobile"
  7. xmlns:system="clr-namespace:System;assembly=netstandard"
  8. x:Class="InABox.Mobile.MobileList"
  9. BackgroundColor="Transparent"
  10. x:DataType="local:MobileList">
  11. <ContentView.Content>
  12. <RefreshView
  13. x:Name="_refresher"
  14. BackgroundColor="Transparent">
  15. <CollectionView
  16. x:Name="_list"
  17. BackgroundColor="Transparent"
  18. ItemSizingStrategy="{Binding HasUnevenRows}"
  19. SelectionMode="None"
  20. HeightRequest="0">
  21. <CollectionView.ItemsLayout>
  22. <LinearItemsLayout ItemSpacing="{Binding Spacing}" Orientation="Vertical" />
  23. </CollectionView.ItemsLayout>
  24. </CollectionView>
  25. </RefreshView>
  26. </ContentView.Content>
  27. </ContentView>