I'm going to create a simple Musicplayer for Android using Service.
But I don't know the best way to save list of nowplaying.
I used a database to store the list, but in this way, each time I start main player activity, I must read database and store to an array list and each time I update nowplaying, I must update the database.
This way make waste of time and sometime data between Database and Arraylist is difficult to synchonized.
What's the best way to solve this problem? - Store nowplaying list of musicplayer app and app must be run fast enough.