What does LayoutInflater in Android do?

Technology CommunityCategory: AndroidWhat does LayoutInflater in Android do?
VietMX Staff asked 3 years ago

The LayoutInflater class is used to instantiate the contents of layout XML files into their corresponding View objects.

In other words, it takes an XML file as input and builds the View objects from it.