pritu patel
Posts: 0
Joined: Tue Jan 21, 2014 6:24 am

background process

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??

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

background process

Hi Pritu,

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

pritu patel
Posts: 0
Joined: Tue Jan 21, 2014 6:24 am

background process

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??

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

background process

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.

pritu patel
Posts: 0
Joined: Tue Jan 21, 2014 6:24 am

background process

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

Return to “Issues”