I am making a music player app in android.When app starts ,I query all the songs in mediastore ,and show them in list.I also have options to edit information and deleting them from phone.I want to refresh my list .What are some ways to refresh list?
As doing query again would be time consuming if there are a lot of songs.
How do i know if media store has been changed or some audio files have been recently added? So that i get only those files.
How can I detect the change of mediastore when I delete or add a mp3 file from or to the sdcard.