common-ktx

//library/ss_n.common_ktx.extension/inflate

inflate

[androidJvm]
fun ViewGroup.inflate(layoutInflater: LayoutInflater? = null, @LayoutReslayout: Int, attachToRoot: Boolean = false): View

Layout Inflate

Return

Inflated View

Parameters

androidJvm

   
layoutInflater LayoutInflater
layout Layout Res example R.id.text
attachToRoot true is root Attach