assertInLayoutOrScroll

Checks if RecyclerView is in the middle of a layout or scroll and throws an IllegalStateException if it is not.

Parameters

message

The message for the exception. Can be null.

See also