LayoutInflater的from方法是static(静态)的
LayoutInflater的inflate方法可以有三个参数
在Activity中可以通过getLayoutInflater方法获得LayoutInflater对象
LayoutInflater的具有一个参数Context对象的构造方法
protected LayoutInflater(Context context) 这里应该选 D,protected 没公开出来
这道题你会答吗?花几分钟告诉大家答案吧!
扫描二维码,关注牛客网
下载牛客APP,随时随地刷题