Merge "Hide scroll bar if recycler view has no items." into sc-dev
This commit is contained in:
commit
bfd56a6d59
1 file changed
+1
@@ -116,6 +116,7 @@ public class WidgetsRecyclerView extends BaseRecyclerView implements OnItemTouch
|
||||
public void onUpdateScrollbar(int dy) {
|
||||
// Skip early if widgets are not bound.
|
||||
if (isModelNotReady()) {
|
||||
mScrollbar.setThumbOffsetY(-1);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user