获取inflater的多种方法

inflater,俗称打气筒,做用是能够把一个布局转换为一个view对象。是Adapter中必备的工具。web //第一种方法 View.inflate(getApplicationContext(),R.layout.item,null); //第二种方法 context.getLayoutInflater().inflate(R.layout.item,null); //第三种方法 Lay
相关文章
相关标签/搜索