获取LayoutInflater的三种方式

来源:互联网 发布:泳道图 for mac 编辑:程序博客网 时间:2024/06/04 20:27

1、LayoutInflater.from(mContext);

2、Activity类的getLayoutInflater

3、(LayoutInflater)mContext.getSystemService(Context.LAYOUT_INFLATER_SERVICE);

0 0
原创粉丝点击