How to disable RecyclerView Items from clicking

You can add a simple boolean to your adapter like this:

public boolean isClickable = true;

and set it in your fab-click:

mAdapter.isClickable = true/false;

And within your OnClickListener in the Adapter, only act when it is clickable:

public void onClick(View view) {
    if(!isClickable)
        return;
    // do your click stuff
}

To disable RecyclerView, follow below steps:

1. Add following view into your layout file,

        <View
            android:id="@+id/viewDisableLayout"
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:background="#40000000"
            android:clickable="true"
            android:focusable="true"
            android:visibility="gone"/>

2. Set View Visibility `View.VISIBLE when you want to disable RecyclerView else