E
E
Egor2018-10-15 17:48:44
Android
Egor, 2018-10-15 17:48:44

How to manually implement Cache in an Android application?

The application implements 2 types of storage: Database (SQLite) and settings (Preferences).
It is necessary to save the data received from the server (json) to the cache, but not to the database. It is necessary to make such functionality so that the data is cleared by third-party cleaners and by clicking on the "Clear cache" button. 5bc4a8f02adac891990158.pngAt the same time, so that the data in the database and Preference are saved.
The project is educational, in google I can not find anything suitable.
I need information on how to do this using sdk without third-party libraries.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
aol-nnov, 2018-10-15
@aol-nnov

https://developer.android.com/training/data-storag...
Did you really search and didn't find it?!

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question