My mobile cordova application uses OData service that returns a list of let's say Products. Each call to backend takes 5-10 seconds. On the start view I have several tiles including: "My Products". When user clicks on the tile "My Products" he is routed to view "My Product List" with a List control. So this navigation step takes about 5-10 seconds and UI hangs.
Now I want to start populating ODataModel for user's products List in the background to save some time and prepare data before user clicks on tile "My Products". As I see populating the model is possible via binding but it works only sync. Any async model methods like "read" do not store the data in it. So is it possible to populate oDataModel in the background?
Ideally is to show product count in the number attribute of "My Products" tile soon after the model is populated.
Thanks! Anton