setChildAlignment

fun setChildAlignment(alignment: ChildAlignment, smooth: Boolean = false)

Updates the child alignment configuration for child views of this RecyclerView

Parameters

alignment

the child alignment configuration

smooth

true if the alignment change should be animated