-
-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
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
How to survive orientation but clear cache when closing screen #103
Comments
@uberchilly By saying |
@eneim What I mean is the second scenario where the activity is destroyed but not application.
In short, when orientation change happens I skip the call to playback.rewind(refresh=true) |
@uberchilly I see. It is not elegant I agree. Sadly I think in the latest stable release there is no convenient way for this. I have an idea about using ViewModel-alike mechanism to address this use case. I will spend some time working on this and it will be in the next release. |
Hello,

I am currently using this setup with a tag, to survive the orientation change.
And that is working fine.
Now I am trying to clear stored information when the user is leaving the screen so that it will be played from the beginning next time user opens it, like this

But I cannot figure out a way to clear cached information for the tag.
What is the proper way to clear cache?
Thanks in advance.
The text was updated successfully, but these errors were encountered: