I save my images in drawable and their resource identifier in a SQLite database. My database is created when the application is launched for the first time.
Is it good to save image identifiers in the database or is the identifier changed every time the application starts?
if the identifier changes, and when retrieving the reverse image, I can get an error message. So, is the image id well stored in the database?
I need a path to images that will be stored in the database with other relative data, so I save the image identifier in the database.
source
share