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

navigationBar的隐藏和显示,会使该库的逻辑错误。 #34

Closed
feaoes opened this issue Jul 18, 2016 · 2 comments
Closed

navigationBar的隐藏和显示,会使该库的逻辑错误。 #34

feaoes opened this issue Jul 18, 2016 · 2 comments
Labels

Comments

@feaoes
Copy link

feaoes commented Jul 18, 2016

华为手机下面的NavigationBar隐藏和显示,也通知OnGlobalLayout方法,你的逻辑误认为是键盘弹出导致的。

other issues:
如果使用Fragment的话,那么通过查找系统根节点进行监听
final ViewGroup contentView = (ViewGroup) activity.findViewById(android.R.id.content); contentView.getViewTreeObserver(). addOnGlobalLayoutListener( new KeyboardStatusListener(isFullScreen, isTranslucentStatus, isFitSystemWindows, contentView, target, listener));
当重复进入聊天Fragment的时候,会对聊天界面中的输入框进行多次注册,导致了重复的逻辑。

@Jacksgong Jacksgong added the bug label Jul 18, 2016
@Jacksgong
Copy link
Owner

该问题已经在这个PR中修复: #33

等待sollian完善以后合入后会发布新的版本修复。

@Jacksgong
Copy link
Owner

Fixed since v1.5.0.

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

No branches or pull requests

2 participants