Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Example of how to implement local database in your Xamarin.Forms applications -
<?xml version="1.0" encoding="utf-8" ?>
<ContentPage xmlns=""
x:Class="DemoLiteDB.MainPage" Title="Demo LiteDB">
<StackLayout Padding="10">
<Entry x:Name="EntryName" Placeholder="Name"/>
<Button Text="Insert" Clicked="Insert"/>
<Button Text="Get" Clicked="Get" />
<ListView x:Name="ListCustomers" ItemSelected="List_Selected">
<StackLayout Orientation="Horizontal" Padding="10">
<Label Text="{Binding Id}"></Label>
<Label Text="{Binding Name}"></Label>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment