setSmoothScrollMaxPendingMoves

When the user holds down a key, a lot of key events will be generated by the system. These events are generated a lot faster than this DpadRecyclerView can scroll, so these events need to be cached until the user stops pressing the key.

If this value is too high, then scrolling will take place a lot longer after the key press stops. And if this value is too low, DpadRecyclerView might miss many key events.

The default value is 10.

It might make sense to decrease this if setSmoothScrollSpeedFactor was increased to avoid scrolling for too long after key presses are over.

Parameters

max

Maximum number of pending key events to be remembered.