How do I detect OverScroll in android RecyclerView?
问题 I have tried to overwrite onOverScrolled() but it is not triggered: public class MyRecyclerView extends RecyclerView { public MyRecyclerView(@NonNull Context context) { super(context); } public MyRecyclerView(@NonNull Context context, @Nullable AttributeSet attrs) { super(context, attrs); } public MyRecyclerView(@NonNull Context context, @Nullable AttributeSet attrs, int defStyle) { super(context, attrs, defStyle); } @Override protected void onOverScrolled(int scrollX, int scrollY, boolean