Hello!
In a part of my application when the user is pressing the back button, I am saving the data into a SQLite Database (I am saving into three tables). To do this I have written this code at the page:
protected override bool OnBackButtonPressed()
{
if (this.ViewModel!=null && !this.ViewModel.IsCurrentOrderCancel)
{
this.ViewModel.SaveDataCommand.Execute(null);
}
return base.OnBackButtonPressed();
}
This works perfectly in a Windows Phone, but in an Android it only save the data of the first table. Any idea how I could resolve it?
Thank you.
Best regards,
Jose Luis.