Why Inflater Is Used in Android?
Contents a Layoutinflater Is One of the Android System Services That Is Responsible for Taking Your Xml Files That Define a Layout, and Converting Them into...
Contents
A LayoutInflater is one of the Android System Services that is responsible for taking your XML files that define a layout, and converting them into View objects. The OS then uses these view objects to draw the screen.
What is Android Inflater?
android.view.LayoutInflater. Instantiates a layout XML file into its corresponding View objects. It is never used directly. Instead, use Activity.
Must Read
What does inflated view mean?
Solution: When you write an XML layout, it will be inflated by the Android OS which basically means that it will be rendered by creating view object in memory.