Class InputPanel
-
- All Implemented Interfaces:
public class InputPanel
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public enumInputPanel.InputStyle
-
Constructor Summary
Constructors Constructor Description InputPanel(Fragment fragment, ViewGroup parent, InputPanel.InputStyle inputStyle, ChannelIdentifier conversationIdentifier)
-
Method Summary
Modifier and Type Method Description EditTextgetEditText()ViewgetRootView()voidsetVisible(int viewId, boolean visible)voidsetInputPanelStyle(InputPanel.InputStyle style)Sets the InputPanel style. voidgetDraft()Gets the draft. voidgetDraftReally(EditMessageConfig config)Gets the normal draft. voidonPause()voidonDestroy()-
-
Constructor Detail
-
InputPanel
InputPanel(Fragment fragment, ViewGroup parent, InputPanel.InputStyle inputStyle, ChannelIdentifier conversationIdentifier)
-
-
Method Detail
-
getEditText
EditText getEditText()
-
getRootView
View getRootView()
-
setVisible
void setVisible(int viewId, boolean visible)
-
setInputPanelStyle
void setInputPanelStyle(InputPanel.InputStyle style)
Sets the InputPanel style.
- Parameters:
style- Currently supports 5 styles, see: InputStyle.
-
getDraft
void getDraft()
Gets the draft. Logic: edit draft => normal draft.
-
getDraftReally
void getDraftReally(EditMessageConfig config)
Gets the normal draft.
-
onPause
void onPause()
-
onDestroy
void onDestroy()
-
-
-
-