BaseViewBindingFrameLayout

constructor(context: Context, inflate: (LayoutInflater, ViewGroup, Boolean) -> BINDING, attachToParent: Boolean = true)

Creates the layout with ViewBinding inflation.

ViewBinding inflate를 사용하는 레이아웃을 생성합니다.

Parameters

context

The context for this view.

이 뷰의 컨텍스트.

inflate

The function to inflate the binding.

바인딩을 inflate하는 함수.

attachToParent

Whether to attach to the parent.

부모에 attach할지 여부.


constructor(context: Context, attrs: AttributeSet?, inflate: (LayoutInflater, ViewGroup, Boolean) -> BINDING, attachToParent: Boolean = true)

Creates the layout with ViewBinding inflation and attributes.

속성을 포함하여 ViewBinding inflate를 사용하는 레이아웃을 생성합니다.

Parameters

context

The context for this view.

이 뷰의 컨텍스트.

attrs

AttributeSet from XML.

XML에서 전달된 AttributeSet.

inflate

The function to inflate the binding.

바인딩을 inflate하는 함수.

attachToParent

Whether to attach to the parent.

부모에 attach할지 여부.


constructor(context: Context, attrs: AttributeSet?, defStyleAttr: Int, inflate: (LayoutInflater, ViewGroup, Boolean) -> BINDING, attachToParent: Boolean = true)

Creates the layout with ViewBinding inflation and style attribute.

스타일 속성을 포함하여 ViewBinding inflate를 사용하는 레이아웃을 생성합니다.

Parameters

context

The context for this view.

이 뷰의 컨텍스트.

attrs

AttributeSet from XML.

XML에서 전달된 AttributeSet.

defStyleAttr

Default style attribute.

기본 스타일 속성.

inflate

The function to inflate the binding.

바인딩을 inflate하는 함수.

attachToParent

Whether to attach to the parent.

부모에 attach할지 여부.


constructor(context: Context, attrs: AttributeSet?, defStyleAttr: Int, defStyleRes: Int, inflate: (LayoutInflater, ViewGroup, Boolean) -> BINDING, attachToParent: Boolean = true)

Creates the layout with ViewBinding inflation and style attributes.

스타일 속성을 포함하여 ViewBinding inflate를 사용하는 레이아웃을 생성합니다.

Parameters

context

The context for this view.

이 뷰의 컨텍스트.

attrs

AttributeSet from XML.

XML에서 전달된 AttributeSet.

defStyleAttr

Default style attribute.

기본 스타일 속성.

defStyleRes

Default style resource.

기본 스타일 리소스.

inflate

The function to inflate the binding.

바인딩을 inflate하는 함수.

attachToParent

Whether to attach to the parent.

부모에 attach할지 여부.