KellyPoima
New member
How do you use LayoutInflater in Kotlin?
Answer
Typically,
you don’t ever need to directly use a LayoutInflater
. Android does most of the layout inflation for you when you call setContentView() in the onCreate() method of your activity. So you, as the programmer, are responsible for making sure the views are inflated.
Answer
Typically,
you don’t ever need to directly use a LayoutInflater
. Android does most of the layout inflation for you when you call setContentView() in the onCreate() method of your activity. So you, as the programmer, are responsible for making sure the views are inflated.