gh-pages / com.nextfaze.devfun.view / ViewFactory / inflate
inflate
abstract fun inflate(inflater:
LayoutInflater
, container:
ViewGroup
?):
V
(source)
Called when this view should be inflated.
Parameters
inflater
- The LayoutInflater object that can be used to inflate the view.
container
- If non-null, this is the parent view that the inflated view will be attached to.
You should not add the view itself, but this can be used to generate the LayoutParams
of the view.
Return The inflated view.