MessageComposerViewModelBinder

A binder class responsible for binding the MessageComposerViewModel with the user interface components. It provides flexibility by allowing custom listeners for various message composer events.

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
@JvmName(name = "bind")
fun bindView(view: MessageComposerView, lifecycleOwner: LifecycleOwner)
Link copied to clipboard

Sets the message builder that is invoked when the send message button is clicked.

Link copied to clipboard

Sets the selection listener for the "also send to channel" checkbox.

Link copied to clipboard

Sets the click listener for the remove attachment button.

Link copied to clipboard

Sets the selection listener that is invoked when attachments are selected.

Link copied to clipboard

Sets the click listener for the audio recording complete button.

Link copied to clipboard

Sets the click listener for the audio recording delete button.

Link copied to clipboard

Sets the click listener for the audio recording playback button.

Link copied to clipboard

Sets the cancel listener invoked when the audio recording gets cancelled.

Link copied to clipboard

Sets the hold listener invoked when the microphone button gets pressed down.

Link copied to clipboard

Sets the lock listener invoked when the audio recording gets locked.

Link copied to clipboard

Sets the release listener invoked when the microphone button gets released.

Link copied to clipboard

Sets the drag start listener that is invoked when the audio slider starts being dragged.

Link copied to clipboard

Sets the drag stop listener that is invoked when the audio slider stops being dragged.

Link copied to clipboard

Sets the click listener for the audio recording stop button.

Link copied to clipboard

Sets the click listener for the pick commands button.

Link copied to clipboard

Sets the selection listener invoked when a command suggestion item is selected.

Link copied to clipboard

Sets the click listener for the dismiss action button.

Link copied to clipboard

Sets the click listener invoked when suggestion popup is dismissed.

Link copied to clipboard

Sets the selection listener invoked when a mention suggestion item is selected.

Link copied to clipboard

Sets the click listener for the send message button.

Link copied to clipboard

Sets the text change listener that is invoked each time after text was changed.