Display loader while loading remote data into viewModel
Is there a way I can do something like pass a method to sourceOnShow so that it loads data into my viewModel, and have Pager display the loader while that method is executing?
It looks like right now it only load "static" html pages, but I want to grab some JSON from the server instead. Thanks!
If you want to load something into the viewmodel I would recommend using withOnShow. The loader will however not be displayed since its connected with sourceOnShow (at the moment).
Sent from my iPhone
On Jul 28, 2013, at 18:02, Ellery Familia [email protected] wrote:
Is there a way I can do something like pass a method to sourceOnShow so that it loads data into my viewModel, and have Pager display the loader while that method is executing?
It looks like right now it only load "static" html pages, but I want to grab some JSON from the server instead. Thanks!
— Reply to this email directly or view it on GitHub.