Exemplo n.º 1
0
 public DemoEntry(String name, Class<?> clazz, int layoutId) {
   Name.set(name);
   ModelClass.set(clazz);
   LayoutId.set(layoutId);
 }
 public SingleChoiceList() {
   GenreList.setArray(GENRES);
   CheckedPosition.set(4);
 }
 @Override
 public Float calculateValue(Object... args) throws Exception {
   return (float) CheckedPosition.get() / (float) GenreList.size();
 }
 @Override
 public String calculateValue(Object... args) throws Exception {
   return Prefix + ClickCount.get();
 }