assertNotInLayoutOrScroll
Checks if RecyclerView is in the middle of a layout or scroll and throws an IllegalStateException if it is.
Parameters
message
The message for the exception. Can be null.
Checks if RecyclerView is in the middle of a layout or scroll and throws an IllegalStateException if it is.
The message for the exception. Can be null.