setAdapterDelegate

Set a delegation to customize the adapter behaviour.