LayoutInflater

英文翻译是充气者,LayoutInflater可以通过布局文件得到一个view

LayoutInflater mInflater=LayoutInflater.from(context);

View v=mInflater.inflate(R.layout.item, null);

原文地址:https://www.cnblogs.com/meieiem/p/2182096.html