It is most likely to get closed but the role of layout inflater is to create a view from the supplied layout file
View row=getLayoutInflater.inflate(R.layout.list_item,parent,false);
it is creating the view from the R.layout.list_item file and proving that view.