Skip to content

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?

@IliaEremin
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.

3 participants