Page 1 of 1

background process

Posted: Tue Feb 04, 2014 1:10 pm
by pritu patel

I used rest service that retrive a list of 3000 and more list item they load all item and take more time to load ..
i want to loading first 10 list item and other 10 and so on.... in background process.
how it possible??


background process

Posted: Tue Feb 04, 2014 2:03 pm
by Kateryna Grynko

Hi Pritu,

Take a look at here please: http://docs.appery.io/documentation/b...


background process

Posted: Wed Feb 05, 2014 5:34 am
by pritu patel

Nooo!!! not like that I call service using url.How to possible with limit parameter
my all detail come from url.
how to possible with url???
I meant to say in android asynctask work in background to retrive data .
Iike that functionality possible in appery??


background process

Posted: Wed Feb 05, 2014 8:12 am
by Kateryna Grynko

Hi Pritu,

JavaScript is asynchronous itself, but unfortunately you can't implement it the way you want. You can do this either in portions or load all at once. This is because Appery.io uses REST requests that work this way. You can't keep a connection for a long time, only request-response.


background process

Posted: Wed Feb 05, 2014 8:41 am
by pritu patel

ok no problem. Thnks for reply.
I will load all at once.