Package com.intercom.composer.input.text
Class TextInput<T extends InputFragment>
- java.lang.Object
-
- com.intercom.composer.input.Input<T>
-
- com.intercom.composer.input.text.TextInput<T>
-
public abstract class TextInput<T extends InputFragment> extends Input<T>
-
-
Constructor Summary
Constructors Constructor Description TextInput(String uniqueIdentifier, IconProvider iconProvider, SendTextCallback sendTextCallback)TextInput(String uniqueIdentifier, IconProvider iconProvider, SendTextCallback sendTextCallback, List<TextInputOption> options)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract EditTextcreateEditText()EditTextgetEditText()List<TextInputOption>getOptions()voidsendTextBack(CharSequence charSequence)-
Methods inherited from class com.intercom.composer.input.Input
createFragment, findFragment, getBackgroundColor, getBorderColor, getIconDrawable, getUniqueIdentifier, setFragmentTag
-
-
-
-
Constructor Detail
-
TextInput
public TextInput(String uniqueIdentifier, IconProvider iconProvider, SendTextCallback sendTextCallback)
-
TextInput
public TextInput(String uniqueIdentifier, IconProvider iconProvider, SendTextCallback sendTextCallback, @Nullable List<TextInputOption> options)
-
-
Method Detail
-
createEditText
@NonNull protected abstract EditText createEditText()
-
getEditText
@NonNull public EditText getEditText()
-
sendTextBack
public void sendTextBack(CharSequence charSequence)
-
getOptions
@Nullable public List<TextInputOption> getOptions()
-
-