-
Notifications
You must be signed in to change notification settings - Fork 2k
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
RecyclerView 界面异常 #74
Comments
另外发现,在有列表的界面弹出软键盘,在收回容易出现列表异常。数据只有几条,recyclerview的其他区域都变成空白,还能不断上下拉伸 |
截图,画圈指出异常位置 |
先确定停止框架或者不依赖框架是否还有相同问题,以确定是否是框架引起的问题,如果是框架的问题请参考这两个解决方案: |
我在监听了软键盘的弹出与消失位置重新做了适配。 KeyboardUtils.registerSoftInputChangedListener(this, new KeyboardUtils.OnSoftInputChangedListener() {
@Override
public void onSoftInputChanged(int height) {
AutoSize.autoConvertDensityOfGlobal(JoinCompanyActivity.this);
}
}); |
对,这个方法就是万能解决方案,请问解决了吗 |
恩,已经解决。多谢!:) |
@JessYanCoding 用这个方法在#84 也无法解决呢,提这个issue的目的是想进一步确认下是不是和框架内部有关系。 现在的处理方式是延迟200毫秒,等软键盘收回到再跳转。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Environment
Bug Description:
在有RecyclerView 的界面,弹出输入法,在收回输入法,或者弹出输入法后,弹出一个toast此时收回输入法,看到recyclerView 只有三条item显示,并且上拉下拉是空白,会不断出现空白
Log:
Screenshot
Related Code:
Others:
The text was updated successfully, but these errors were encountered: