Package com.thecoderscorner.menu.mgr
Annotation Interface ScrollChoiceValueRetriever
Marks a method as being responsible for providing the value of a particular value in a scroll choice. Each time
a scroll choice item changes, the callback associated with it is called back. In this call-back the menu item
and row number are provided. It is then your responsibility to provide the value at that location.
@ScrollChoiceValueRetriever(id=3)
public String myScrollChoiceNeedsValue(ScrollChoiceMenuItem item, CurrentScrollPosition position) {
return "position" + position.getPosition();
}
-
Required Element Summary
Required Elements
-
Element Details
-
id
int id
-