Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<?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