-1

I am little bit confused to use which adapter best for me to retrieve data from a .mp3 file like Art, SongName, Artist etc.

Mohd Aqib
  • 158
  • 1
  • 1
  • 11
  • 3
    Possible duplicate of [Better to use Cursor adapter or Array adapter](http://stackoverflow.com/questions/21130162/better-to-use-cursor-adapter-or-array-adapter) – IntelliJ Amiya Mar 10 '16 at 12:10
  • Do you have a database or array of items? `if(database) { cursorAdapter } else { arrayAdapter }` – Budius Mar 10 '16 at 12:11
  • That `CursorAdapter` doesn't require you to load the entire database into memory. – EpicPandaForce Mar 10 '16 at 12:21

1 Answers1

0

CursorAdapter is more appropriate when there is a database because it does not load all the records as ArrayAdapter. It loads only the visible records.

Matias Elorriaga
  • 8,880
  • 5
  • 40
  • 58