Open AhmedML opened 7 years ago
Class : AbsRecyclerViewFastScroller.java
The application crashes when the Adapter of mRecyclerView is null
method: private int getPositionFromScrollProgress(float scrollProgress) { return (int) (mRecyclerView.getAdapter().getItemCount() * scrollProgress); }
private int getPositionFromScrollProgress(float scrollProgress) { return (int) (mRecyclerView.getAdapter().getItemCount() * scrollProgress); }
You did not test on the adapter
Class : AbsRecyclerViewFastScroller.java
The application crashes when the Adapter of mRecyclerView is null
method:
private int getPositionFromScrollProgress(float scrollProgress) { return (int) (mRecyclerView.getAdapter().getItemCount() * scrollProgress); }
You did not test on the adapter