Skip to content

Instantly share code, notes, and snippets.

@jfversluis
Created August 17, 2017 11:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jfversluis/52ac92816b78394c2eb986810d089f68 to your computer and use it in GitHub Desktop.
Save jfversluis/52ac92816b78394c2eb986810d089f68 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="utf-8"?>
<ContentPage Title="Akavache sample" xmlns="http://xamarin.com/schemas/2014/forms" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" xmlns:local="clr-namespace:AkavacheSample" x:Class="AkavacheSample.AkavacheSamplePage">
<ListView ItemsSource="{Binding Breaches}" IsRefreshing="{Binding IsLoading}" RefreshCommand="{Binding RefreshCommand}" IsPullToRefreshEnabled="true">
<ListView.ItemTemplate>
<DataTemplate>
<TextCell Text="{Binding Name}" Detail="{Binding NoOfAccounts, StringFormat='{0} of pwned accounts'}" />
</DataTemplate>
</ListView.ItemTemplate>
</ListView>
</ContentPage>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment