public class TextViewFloatAdapter extends java.lang.Object implements ViewDataAdapter<android.widget.TextView,java.lang.Float>
Float from TextViews or
its subclasses like EditTexts.| Constructor and Description |
|---|
TextViewFloatAdapter() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Float |
getData(android.widget.TextView editText)
Extract and return the appropriate data from a given
View. |
public java.lang.Float getData(android.widget.TextView editText)
throws ConversionException
ViewDataAdapterView.getData in interface ViewDataAdapter<android.widget.TextView,java.lang.Float>editText - The View from which contains the data that we are
interested in.ConversionException - If the adapter is unable to convert the data to the expected
data type.