setAdapter

open fun <T : OpenChannelRegisterOperatorListAdapter?> setAdapter(@NonNull adapter: T)

Sets the participant list adapter when registering operators to provide child views on demand. The default is new OpenChannelRegisterOperatorListAdapter().

When adapter is changed, all existing views are recycled back to the pool. If the pool has only one adapter, it will be cleared.

Parameters

adapter

The adapter to be applied to this list component since 3.1.0