-
Notifications
You must be signed in to change notification settings - Fork 5.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
QuickGridLayoutManager空布局无法撑满 #3818
Comments
找到问题,请在你的适配器中添加 implements FullSpanAdapterType。 |
坏了,实现FullSpanAdapterType这个接口后,1个item也会撑满整个宽度了。还是有问题。 |
更新下最新版本试下呢 |
我回退到4.0.2就没有问题,4.0.3和这个最新版都不行。老哥快修复。 |
limuyang2
added a commit
that referenced
this issue
Dec 1, 2023
已经在 4.1.1 版中修复 |
4.1.4还有这个问题怎么回事呢? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
使用版本4.0.3
singleSpecAdapter = new SingleSpecAdapter();
singleSpecAdapter.submitList(collect);
singleSpecAdapter.setStateViewEnable(true);
singleSpecAdapter.setStateViewLayout(requireContext(), R.layout.adapter_single_spec_empty);
viewBinding.recyclerViewSpec.setLayoutManager(new QuickGridLayoutManager(requireContext(), 3));
viewBinding.recyclerViewSpec.setAdapter(singleSpecAdapter);
使用以下代码后,发现空布局无法撑满。之前使用其他版本是可以的。
The text was updated successfully, but these errors were encountered: