-
Notifications
You must be signed in to change notification settings - Fork 279
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
Loses the position on device orientation #33
Comments
Anyone any thought? |
You could store a reference to the currently displayed tooltipView, and onSaveInstanceState, save the id of the Tooltipview currently being displayed. Then, in onViewStateRestored, re-create the TooltipView from the saved id if it exists. Something along the lines of:
You could also more cleanly do the switch from within a single method, but this is just a general idea. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Simply rotate the device while showing the tooltip and observe the tooltip position will be wrong after orientation change.
The text was updated successfully, but these errors were encountered: