hello,there is a bug when RecycleView using GridLayoutManager and set this headview
mGridLayoutManager.setSpanSizeLookup(new GridLayoutManager.SpanSizeLookup() {
@Override
public int getSpanSize(int position) {
return position ==0 ? 3 : 1;
}
});
the progressbar is on the left no center
hello,there is a bug when RecycleView using GridLayoutManager and set this headview mGridLayoutManager.setSpanSizeLookup(new GridLayoutManager.SpanSizeLookup() { @Override public int getSpanSize(int position) { return position ==0 ? 3 : 1; } }); the progressbar is on the left no center