daimajia / daimajia/AndroidSwipeLayout

Save state onConfigurationChange

Open
#157 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
12.3k
Forks
2.6k
PR merge metrics
No merged PRs in 30d

Description

Hello! First of all thank you for this awesome library. I have a question because I do not seem to find a way to do this.

I have a simple swipe up of a view and when the user for example rotates the device, I want to handle that configuration change correctly. Right now, what happens is that if the user swipes up, it shows the bottom view, when user rotates the device, the view is hidden again (so you have to swipe again).

How can I save the state so when the user rotates (or another change) the SwipeLayout continues closed/opened?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.