A
A
Alexey Nekrasov2018-02-06 14:07:12
Android
Alexey Nekrasov, 2018-02-06 14:07:12

How to update MediaStore.Images.Thumbnails thumbnails?

I'm making a mini gallery in the application and the problem is that MediaStore.Images.Thumbnails is not updated automatically, but at the same time, if you start instagram, then it copes with this task very well. Can you tell me how to update thumbnails?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Denis Zagaevsky, 2018-02-06
@zagayevskiy

For automatic updates, you need to keep track of the data. CursorLoader will do it for you. Change from a direct call to the content resolver to the use of an easy loader .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question