snackBarShowIndefinite

fun View.snackBarShowIndefinite(msg: CharSequence, snackBarOption: SnackBarOption? = null)

Creates and shows an indefinite duration Snackbar from a View.

View에서 무제한 시간 Snackbar를 생성하고 표시합니다.

Parameters

msg

The message to display in the Snackbar.

Snackbar에 표시할 메시지.

snackBarOption

Optional configuration for customizing the Snackbar.

Snackbar 커스터마이징을 위한 선택적 설정.


fun Fragment.snackBarShowIndefinite(msg: CharSequence, snackBarOption: SnackBarOption? = null)

Creates and shows an indefinite duration Snackbar from a Fragment.
Logs an error if the Fragment's view is null.

Fragment에서 무제한 시간 Snackbar를 생성하고 표시합니다.
Fragment의 view가 null이면 에러를 로깅합니다.

Parameters

msg

The message to display in the Snackbar.

Snackbar에 표시할 메시지.

snackBarOption

Optional configuration for customizing the Snackbar.

Snackbar 커스터마이징을 위한 선택적 설정.


fun View.snackBarShowIndefinite(msg: CharSequence, customView: View, animMode: Int? = null, isGestureInsetBottomIgnored: Boolean? = null)

Creates and shows an indefinite duration Snackbar with a custom view.

커스텀 뷰로 무제한 시간 Snackbar를 생성하고 표시합니다.

Parameters

msg

The message to display in the Snackbar.

Snackbar에 표시할 메시지.

customView

The custom view to display in the Snackbar.

Snackbar에 표시할 커스텀 뷰.

animMode

Animation mode for the Snackbar.

Snackbar의 애니메이션 모드.

isGestureInsetBottomIgnored

Whether to ignore bottom gesture insets.

하단 제스처 인셋을 무시할지 여부.