I'm trying to update a SQLite
record's boolean
"Large" attribute in my code-behind. I'm using the sqlite-net-pcl
Nuget package in Xamarin.Forms
shared project.
I've figured out how to pass my record through to my method, but I can't get the attribute to update.
public async void PutBack(object sender, ItemTappedEventArgs e)
{
var selectedListItem = e.Item as ListItem;
selectedListItem.Large = false
...
}
When I run this I don't get any errors, but nothing happens. What's the correct syntax to update a record? It's weirdly hard to find documentation on this subject.