public static < T extends View > T mount ( T v , Renderable r ) { Mount m = new Mount ( v , r ) ; mounts . put ( v , m ) ; render ( v ) ; return v ; }
Mounts a renderable function defining the layout into a View . If host is a viewgroup it is assumed to be empty so the Renderable would define what its child views would be .