Skip to content

Crash when adapter is null #68

@AhmedML

Description

@AhmedML

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions