Skip to content
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

reopen layout after parent is invalidated #191

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

reopen layout after parent is invalidated #191

wants to merge 3 commits into from

Conversation

vavrecan
Copy link

  • this is simple fix to issue that some people reported that swipe is closed after keyboard is shown
  • new member mCurrentStatus was added to class and this status is restored after onGlobalLayout event

- this is simple fix to issue that some people reported that swipe is closed after keyboard is shown
- new member mCurrentStatus was added to class and this status is restored after onGlobalLayout event
@Alexander--
Copy link

Shouldn't you unregister a global listener at least when the view is detached? And why use a global layout listener anyway?

@vavrecan
Copy link
Author

it seems to be event that is called immediately after layout is closed - I agree it feels more hacky, any ideas?

@Alexander--
Copy link

any ideas?

Override onSaveInstanceState and onRestoreInstanceState instead?

@IlyaEremin
Copy link

I'm tried this PR and it fix #36

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants