如果方法是返回 View 类型 用的是beetl 应该怎么写
9 回复
/**
演示如何暴露BeetlViewMaker的WebRender实例,从而生成BeetlView实例.
*/
public class MyBeetlViewMarker extends BeetlViewMaker {
static WebRender _render;
public MyBeetlViewMarker() throws IOException {
super();
_render = render;
}
public static View make(String dst) {
return new BeetlView(_render, dst);
}
}
return MyBeetlViewMarker.make(path);
WebRender render是空的啊
@wendal
添加回复
请先登陆