Package-level declarations

Types

Link copied to clipboard
Link copied to clipboard
abstract class BaseViewModel<S : UiState, A : UiAction>(initialState: S) : ViewModel

Base class for ViewModels that manages UI state and handles user actions.

Link copied to clipboard
abstract class BaseViewModelWithEffect<S : UiState, A : UiAction, E>(initialState: S) : BaseViewModel<S, A>

Base class for ViewModels that manages UI state, handles user actions, and emits side effects.

Link copied to clipboard
class IOSPlatform : Platform
Link copied to clipboard
Link copied to clipboard
interface Platform

Platform interface representing platform-specific implementations.

Link copied to clipboard
interface UiAction

Marker interface representing an action or intent from the user.

Link copied to clipboard
interface UiEffect

Marker interface representing a UI side effect.

Link copied to clipboard
interface UiState

Marker interface representing the state of the UI.

Link copied to clipboard

Functions

Link copied to clipboard
actual fun getPlatform(): Platform
expect fun getPlatform(): Platform

Function to get the platform-specific implementation of Platform.

actual fun getPlatform(): Platform
actual fun getPlatform(): Platform
actual fun getPlatform(): Platform