Helllo,
I am in the process of creating a Xamarin.Forms app which will have the ability to communicate with a REST service and pull records down, update them or create new, and send back to the server to store in database. I'm also implementing off line capability by using SQLite on the device. I'm mirroring the server DB table on the device. When I receive the records from the server, I run a foreach loop to parse the data into an object model, and then save each record into local DB. The table has about 40 columns or so. Before I run the loop to populate the local DB table, I delete all rows first.
In the foreach loop, I also have a much smaller object model, that I populate with only relevant items to display the data in a listview.
The problem I'm having is that while I'm testing this, I make the call to the server for the data and follow the process above about 4-5 times. Then the app just crashes. No warning, no message, just crashes. The server will return about 400 records every time.
Any ideas on why the app just crashes?
Thanks