setMessageCollectionHandler

open fun setMessageCollectionHandler(@Nullable handler: MessageCollectionHandler)

Registers a handler for the message collection managed by this view model.

Parameters

handler

MessageCollectionHandler to be registered in this view model since 3.0.0