ConcatAdapter

constructor(@NonNull adapters: List<out RecyclerView.Adapter<out RecyclerView.ViewHolder>>)(source)

Creates a ConcatAdapter with DEFAULT and the given adapters in the given order.

Parameters

adapters

The list of adapters to add


Creates a ConcatAdapter with the given config and the given adapters in the given order.

Parameters

config

The configuration for this ConcatAdapter

adapters

The list of adapters to add

See also