removeCallbacks

Removes the specified Runnable from the message queue.

Calling this method when LayoutManager is not attached to a RecyclerView has no effect.

Return

true if RecyclerView could ask the Handler to remove the Runnable, false otherwise. When the returned value is true, the Runnable may or may not have been actually removed from the message queue (for instance, if the Runnable was not in the queue already.)

Parameters

action

The Runnable to remove from the message handling queue

See also