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.
Functions
Sets the message builder that is invoked when the send message button is clicked.
Sets the selection listener for the "also send to channel" checkbox.
Sets the click listener for the remove attachment button.
Sets the selection listener that is invoked when attachments are selected.
Sets the click listener for the audio recording complete button.
Sets the click listener for the audio recording delete button.
Sets the click listener for the audio recording playback button.
Sets the cancel listener invoked when the audio recording gets cancelled.
Sets the hold listener invoked when the microphone button gets pressed down.
Sets the lock listener invoked when the audio recording gets locked.
Sets the release listener invoked when the microphone button gets released.
Sets the drag start listener that is invoked when the audio slider starts being dragged.
Sets the drag stop listener that is invoked when the audio slider stops being dragged.
Sets the click listener for the audio recording stop button.
Sets the click listener for the pick commands button.
Sets the selection listener invoked when a command suggestion item is selected.
Sets the click listener for the dismiss action button.
Sets the click listener invoked when suggestion popup is dismissed.
Sets the selection listener invoked when a mention suggestion item is selected.
Sets the click listener for the send message button.
Sets the text change listener that is invoked each time after text was changed.