suicvne / pandoroid

Automatically exported from code.google.com/p/pandoroid
GNU General Public License v2.0
0 stars 0 forks source link

PandoidProvider service #4

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
The idea has been raised that Pandoroid would benefit from a data provider 
service that would serve things to the application, querying the API when 
needed and using cache when able.

This could be almost anything except the music itself, but thinking 
realistically we could see the most benefits from using this for serving:

--> Album cover art (see issue #2)
--> The user's station list

The benefits for cover art are obvious.  Using a cache-backed provider for a 
station list however runs the risk of showing the user a stale list of stations 
if they recently added/removed one from another Pandora Radio interface.  We 
can mitigate this by spinning off a AsyncTask to refresh the station list after 
they have been served from the provider/cache.  Maybe even a UI widget to show 
that we are updating in the background.

Original issue reported on code.google.com by aregner on 2 Aug 2011 at 1:05

GoogleCodeExporter commented 9 years ago

Original comment by aregner on 2 Aug 2011 at 1:06