We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
after i restart the i app i want to access same memory cache.
is it possible??
The text was updated successfully, but these errors were encountered:
i am trying convert Kache to json , and reverse . but i get buildError: Only classes are allowed on the left hand side of a class literal
code:
fun save_Kache(kacheobj: InMemoryKache<List<Int>,List<Media>>) { sharedPref.edit().putString("kacheobj", Gson().toJson(kacheobj)).apply() } fun get_Kache(): InMemoryKache<List<Int>, List<Media>>? { val data = sharedPref.getString("kacheobj", null) if (data == null) { return null } return Gson().fromJson(data, InMemoryKache<List<Int>,List<Media>>::class.java) //buildError: }
Sorry, something went wrong.
No branches or pull requests
after i restart the i app i want to access same memory cache.
is it possible??
The text was updated successfully, but these errors were encountered: