static LiveValue mapLiveValue(final F1 f, final Class type, final LiveValue lv) { ret new LiveValue() { public Class getType() { ret type; } public B get() { ret callF(lv!); } public void onChange(Runnable l) { lv.onChange(l); } public void removeOnChangeListener(Runnable l) { lv.removeOnChangeListener(l); } }; }