setAlignmentLookup

fun setAlignmentLookup(lookup: AlignmentLookup?, smooth: Boolean = false)

Set a custom alignment configuration for each ViewHolder. Check AlignmentLookup. This is only supported in linear layouts

Parameters

lookup

custom alignment configuration specific to some ViewHolders

smooth

true if the layout should be smooth scrolled to the new position