H
H
hAlex2014-04-17 02:19:57
Android
hAlex, 2014-04-17 02:19:57

How to bind ContentProvider to attached file?

Good.
There is a ContentProvider, the values ​​are stored in sqlite, except for text fields, an image is attached to each entry.
Suppose that a link to an image is stored in the content provider, but it is somehow unprofitable to load it constantly from the server, the cache is also not cool, I would like to save it permanently, and then I had a problem, I can’t figure out how and where to download and delete image after the record content provider is deleted or changed.
PS I am familiar with the development for android 17 hours, sorry if something is wrong.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question