please can anybody tell the basic difference between the following
setContentView(R.layout.content_main);
and
View row = layoutInflater.inflate(R.layout.view, parent, false);
from the above two method we get the view , and i know the second method generally use in Adapter to inflate the view.
But My question is ---
Can we use setContentView method in place of inflator to get the views in adapters... i am confused please help me out????