public class ValidationContext
extends java.lang.Object
Views in the controller object.| Modifier and Type | Method and Description |
|---|---|
java.util.List<android.view.View> |
getAnnotatedViews(java.lang.Class<? extends java.lang.annotation.Annotation> saripaarAnnotation)
Retrieves all
Views that are annotated with the specified annotation. |
android.content.Context |
getContext()
Get a
Context. |
java.lang.Object |
getData(android.view.View view,
java.lang.Class<? extends java.lang.annotation.Annotation> saripaarAnnotation)
Retrieves the data from the given
View using the appropriate
ViewDataAdapter. |
public java.util.List<android.view.View> getAnnotatedViews(java.lang.Class<? extends java.lang.annotation.Annotation> saripaarAnnotation)
Views that are annotated with the specified annotation.saripaarAnnotation - The annotation we are interested in.List of Views annotated with the
given annotation.public java.lang.Object getData(android.view.View view,
java.lang.Class<? extends java.lang.annotation.Annotation> saripaarAnnotation)
View using the appropriate
ViewDataAdapter.view - A View.saripaarAnnotation - The annotation used to annotate the View.View.public android.content.Context getContext()
Context.Context.