hey i would like to know what is the best to do in my situation :
im making a music app , im using mediabrowser library wish loads all mediastore files into a map,then in service_create im creating a folder(direxternal) for the cover bitmaps then making a loop to scan each file and see if there s a cover inside it will create it in that folder for later use , so this process it a bit long specially for high number of songs and it freezes the activity until it finishes , so i found a cache library wish creates disk and memory cache for bitmaps wish is good for me if i want to create a listview for songs with cover bitmap included but i found that way is not efficient , therefore i ve decided to mess around with sql wish im planing to create the bitmaps and save them into sql and later load them into the cache , so is that possible and how can it be more efficient and fast without freezing thank u
im making a music app , im using mediabrowser library wish loads all mediastore files into a map,then in service_create im creating a folder(direxternal) for the cover bitmaps then making a loop to scan each file and see if there s a cover inside it will create it in that folder for later use , so this process it a bit long specially for high number of songs and it freezes the activity until it finishes , so i found a cache library wish creates disk and memory cache for bitmaps wish is good for me if i want to create a listview for songs with cover bitmap included but i found that way is not efficient , therefore i ve decided to mess around with sql wish im planing to create the bitmaps and save them into sql and later load them into the cache , so is that possible and how can it be more efficient and fast without freezing thank u