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
问题1:mAdapter.setEmptyView,这个方法布局无论如何写,view永远是居中的,setEmptyViewLayout这个方法传id显示正常,请问如何解决
问题2:QuickAdapterHelper + addAfterAdapter,如何在getSpanSize方法设置,所有的afterAdapter 占用2格呢,postion是谁的下标呢?打印了log没看明白 manager.setSpanSizeLookup(new GridLayoutManager.SpanSizeLookup() { @OverRide public int getSpanSize(int position) { if (position == 0) { return 2; } return 1;//其他的占两个格 } });
The text was updated successfully, but these errors were encountered:
No branches or pull requests
问题1:mAdapter.setEmptyView,这个方法布局无论如何写,view永远是居中的,setEmptyViewLayout这个方法传id显示正常,请问如何解决
问题2:QuickAdapterHelper + addAfterAdapter,如何在getSpanSize方法设置,所有的afterAdapter 占用2格呢,postion是谁的下标呢?打印了log没看明白
manager.setSpanSizeLookup(new GridLayoutManager.SpanSizeLookup() {
@OverRide
public int getSpanSize(int position) {
if (position == 0) {
return 2;
}
return 1;//其他的占两个格
}
});
The text was updated successfully, but these errors were encountered: