Vasil Yaroshevich
Vasil Yaroshevich

Reputation: 25

What is best approach for android app with remote data?

I develop simple information application what display data from remote host. Data come via http in json or xml format. What is best modern approach for that: service, content-provider, loader or simple asynctask?

Upvotes: 1

Views: 191

Answers (1)

Ryan S
Ryan S

Reputation: 4567

None of the above, use Robospice and Spring for Android, here is an infographic: https://raw.github.com/octo-online/robospice/master/gfx/RoboSpice-InfoGraphics.png

Basically it will handle reading JSon, proper lifecycle management, and no memory leaks!

Upvotes: 2

Related Questions