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(f, lv!); } public void onChange(Runnable l) { lv.onChange(l); } public void removeOnChangeListener(Runnable l) { lv.removeOnChangeListener(l); } }; } static LiveValue mapLiveValue(LiveValue lv, Class type, F1 f) { ret mapLiveValue(f, type, lv); }