setReverseLayout

fun setReverseLayout(reverseLayout: Boolean)

Used to reverse item traversal and layout order. This behaves similar to the layout change for RTL views. When set to true, first item is laid out at the end of the UI, second item is laid out before it etc.

For horizontal layouts, it depends on the layout direction.

When set to true:

  • If this DpadRecyclerView is LTR, then it will layout from RTL.

  • If it is RTL, it will layout from LTR.

Parameters

reverseLayout

True to reverse the layout order