Merge "Hide scroll bar if recycler view has no items." into sc-dev

This commit is contained in:
Alina Zaidi authored and Android (Google) Code Review committed 2021-04-20 12:25:47 +00:00
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;
}