public class TextViewDoubleAdapter extends java.lang.Object implements ViewDataAdapter<android.widget.TextView,java.lang.Double>
Double from TextViews or
its subclasses like EditTexts.| Constructor and Description |
|---|
TextViewDoubleAdapter() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Double |
getData(android.widget.TextView editText)
Extract and return the appropriate data from a given
View. |
public java.lang.Double getData(android.widget.TextView editText)
throws ConversionException
ViewDataAdapterView.getData in interface ViewDataAdapter<android.widget.TextView,java.lang.Double>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.