I am new to android. I am working on a music player. I can load playlist and can play a song until the app is running but how can i get my temporary playlist and current song detail when app is restarted after closing.
use Shared Preferences or sqlite to store your lists and retrieve them whenever required. You need to use any of the persistent storage to save your play list or any data and need to fetch it when your app starts again.Non persistent data gets destroyed once an app gets killed.