I'm working on an app that allow user to scheduled download (user can select multiple links and then at the specific given time (it may take even weeks), AlarmManager will send broadcast to call the DownloadService
So how do I save the selected links of user, even when the app is closed? I think those links just need to be a ArrayList.
I tried SharedPreferences but it only allow me to putInt, putBoolean... I also read about onSaveInstanceState / onRestoreInstanceState but when the app is closed, saveInstanceState is also gone, right?
How can I do this? Thank you very much