inflate
fun Context.inflate(@LayoutRes id: Int, parent: ViewGroup? = null, attachToParent: Boolean = parent != null): View
Content copied to clipboard
使用Context初始化布局
fun Fragment.inflate(@LayoutRes id: Int, parent: ViewGroup? = null, attachToParent: Boolean = parent != null): View
Content copied to clipboard
使用Fragment初始化布局