public class StringFeedbackFormField extends java.lang.Object implements FeedbackFormField, android.text.TextWatcher
| Constructor and Description |
|---|
StringFeedbackFormField(java.lang.String attribute,
java.lang.String placeholder,
java.lang.String defaultValue) |
| Modifier and Type | Method and Description |
|---|---|
void |
afterTextChanged(android.text.Editable s) |
void |
beforeTextChanged(java.lang.CharSequence s,
int start,
int count,
int after) |
java.lang.String |
getAttribute()
Return the key name for the attribute represented by this form field
|
java.lang.String |
getValue()
Return the value for the attribute respressented by this form field
|
android.view.View |
onCreateView(android.content.Context context,
android.view.View parent)
Like an adapter, implement this to return a custom view for the form element
|
void |
onTextChanged(java.lang.CharSequence s,
int start,
int before,
int count) |
public StringFeedbackFormField(java.lang.String attribute,
java.lang.String placeholder,
java.lang.String defaultValue)
public android.view.View onCreateView(android.content.Context context,
android.view.View parent)
FeedbackFormFieldonCreateView in interface FeedbackFormFieldpublic java.lang.String getValue()
FeedbackFormFieldgetValue in interface FeedbackFormFieldpublic java.lang.String getAttribute()
FeedbackFormFieldgetAttribute in interface FeedbackFormFieldpublic void beforeTextChanged(java.lang.CharSequence s,
int start,
int count,
int after)
beforeTextChanged in interface android.text.TextWatcherpublic void onTextChanged(java.lang.CharSequence s,
int start,
int before,
int count)
onTextChanged in interface android.text.TextWatcherpublic void afterTextChanged(android.text.Editable s)
afterTextChanged in interface android.text.TextWatcher