I always had ambiguity on why wee need to use inflater in android, Why are they used in android ListView for a custom layout ?
They are used to create the Views for each row.
What is an Inflater ?
A system service that creates a View out of an XML layout.
In the below code i am trying to understand why Inflator is used ?
The inflater is used to create the Views for the rows.
What is the advantage of using Inflater ?
Compared to what? How do you want to create the Views out of the XML layout?