JuahyaAndroid 解析器

联合创作 · 2023-09-29 22:44

Juahya 是一个android 的实时解析 xml 转化为 view 的解析器

示例代码:

IFlateServicePoxy service = new IFlateServicePoxy();
        service.setIJuahyaLayoutInflateListener(DemoListActivity.this);
        String result="<LinearLayout android:orientation=\"vertical\" "
                    +" android:layout_width=\"fill_parent\" android:layout_height=\"fill_parent\" >"
                    +"</LinearLayout>";
        View view= service.inflate(result, DemoListActivity.this);
        setContentView(view);
浏览 1
点赞
评论
收藏
分享

手机扫一扫分享

编辑
举报
评论
图片
表情
推荐
点赞
评论
收藏
分享

手机扫一扫分享

编辑
举报