布局填充器的三种写法: 1.layoutInflater=layoutInflater.from(this); 2.layoutInflater=(LayoutInflater)getSystemService(Context.LAYOUT_INFLATER_SERVICE); 3.layoutInflater=this.getLayoutInflater();
布局填充器的三种写法
原文:http://www.cnblogs.com/dreamy890322/p/4145968.html