Answer the question
In order to leave comments, you need to log in
How to cache files in android?
It is necessary to cache files (video) in the android application, and so that there would be a certain amount for storing the cache, i.e. if the allowed size for storing the cache, when saving a new file, overflowed, then the old files were deleted from the cache to save this new one. In general, how to do file hashing? Maybe there are some libraries.
Answer the question
In order to leave comments, you need to log in
In general, this is not such an easy task. There are many caching algorithms .
You can look towards LRU from Jake Worton
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question