setParentAlignment

fun setParentAlignment(alignment: ParentAlignment, smooth: Boolean = false)

Updates the parent alignment configuration for child views of this RecyclerView

Parameters

alignment

the parent alignment configuration

smooth

true if the alignment change should be animated