protected Activity makeCreateActivity() { TimerDesktopEditView.instance().setCreating(true); Activity activity = new TimerEditActivity( null, factory, ScaffoldApp.isMobile() ? TimerMobileEditView.instance() : TimerDesktopEditView.instance(), placeController); return new TimerEditActivityWrapper( factory, ScaffoldApp.isMobile() ? TimerMobileEditView.instance() : TimerDesktopEditView.instance(), activity, null); }
protected Activity makeEditActivity(ProxyPlace place) { TimerDesktopEditView.instance().setCreating(false); EntityProxyId<TimerProxy> proxyId = coerceId(place); Activity activity = new TimerEditActivity( proxyId, factory, ScaffoldApp.isMobile() ? TimerMobileEditView.instance() : TimerDesktopEditView.instance(), placeController); return new TimerEditActivityWrapper( factory, ScaffoldApp.isMobile() ? TimerMobileEditView.instance() : TimerDesktopEditView.instance(), activity, proxyId); }