Interface MessageComposerContent
-
- All Implemented Interfaces:
public interface MessageComposerContentAn interface that must be implemented by the content views of MessageComposerView.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classMessageComposerContent.PredefinedKeys
-
Method Summary
Modifier and Type Method Description abstract UnitattachContext(MessageComposerContext messageComposerContext)Initializes the content view with MessageComposerContext. abstract UnitrenderState(MessageComposerState state)Invoked when the state has changed and the UI needs to be updated accordingly. ViewfindViewByKey(String key)Finds the first descendant view with the given key. -
-
Method Detail
-
attachContext
abstract Unit attachContext(MessageComposerContext messageComposerContext)
Initializes the content view with MessageComposerContext.
- Parameters:
messageComposerContext- The context of this MessageComposerView.
-
renderState
abstract Unit renderState(MessageComposerState state)
Invoked when the state has changed and the UI needs to be updated accordingly.
- Parameters:
state- The state that will be used to render the updated UI.
-
findViewByKey
View findViewByKey(String key)
Finds the first descendant view with the given key.
- Parameters:
key- the key to search for.
-
-
-
-