We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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隐藏和显示,也通知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的时候,会对聊天界面中的输入框进行多次注册,导致了重复的逻辑。
final ViewGroup contentView = (ViewGroup) activity.findViewById(android.R.id.content); contentView.getViewTreeObserver(). addOnGlobalLayoutListener( new KeyboardStatusListener(isFullScreen, isTranslucentStatus, isFitSystemWindows, contentView, target, listener));
The text was updated successfully, but these errors were encountered:
该问题已经在这个PR中修复: #33
等待sollian完善以后合入后会发布新的版本修复。
Sorry, something went wrong.
9c6f362
Fixed since v1.5.0.
No branches or pull requests
华为手机下面的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的时候,会对聊天界面中的输入框进行多次注册,导致了重复的逻辑。
The text was updated successfully, but these errors were encountered: