📜  使回收站视图不可滚动 - Java 代码示例

📅  最后修改于: 2022-03-11 14:52:12.662000             🧑  作者: Mango

代码示例1
//Override your LayoutManager's canScrollVertically::boolean
linearLayoutManager = new LinearLayoutManager(context) {
 @Override
 public boolean canScrollVertically() {
  return false;
 }
};