ListAdapterResult

sealed interface ListAdapterResult

Result contract for queued ListAdapter mutations.

큐 기반 ListAdapter 변경 결과 계약입니다.

Inheritors

Types

Link copied to clipboard

Indicates that the mutation was applied successfully.

변경이 성공적으로 반영되었음을 나타냅니다.

Link copied to clipboard
sealed interface Failed : ListAdapterResult

Indicates that the queued mutation failed after acceptance.

큐에 수락된 뒤 변경이 실패했음을 나타냅니다.

Link copied to clipboard
sealed interface Rejected : ListAdapterResult

Indicates that the mutation was rejected before queueing.

큐 등록 전에 변경 요청이 거절되었음을 나타냅니다.

Functions

Link copied to clipboard
open fun fold(onApplied: () -> Unit, onRejected: (ListAdapterResult.Rejected) -> Unit, onFailed: (ListAdapterResult.Failed) -> Unit)

Folds this result into applied, rejected, or failed branches.

현재 결과를 적용 성공, 거절, 실패 분기로 처리합니다.