public class SimpleConverter extends BaseConverter<Object>
| Constructor and Description |
|---|
SimpleConverter() |
| Modifier and Type | Method and Description |
|---|---|
Object |
convertForView(android.view.View view,
Object value)
Convert the given value to a form that can be displayed by the given View.
|
Object |
convertFromView(android.view.View widget,
Object value,
Class<?> type)
Convert the given value (as returned by the given View) into the given class
|
public Object convertFromView(android.view.View widget, Object value, Class<?> type)
Convertertype - the class to convert into. Useful for handling subclasses (eg. see
NumberConverter)public Object convertForView(android.view.View view, Object value)
BaseConverter
By default, uses StringUtils.quietValueOf.
convertForView in interface Converter<Object>convertForView in class BaseConverter<Object>Copyright © 2015. All Rights Reserved.