All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commonMain.pro.respawn.flowmvi.api.MVIState.kt Maven / Gradle / Ivy

Go to download

A Kotlin Multiplatform MVI library based on plugins that is simple, fast, powerful & flexible

There is a newer version: 3.0.0
Show newest version
package pro.respawn.flowmvi.api

/**
 * The state of the [StateProvider], most likely a [Store].
 * States updates are sent to the [StateReceiver] and consumed by the [StateConsumer].
 *
 * The state must be **comparable** and **immutable** (most likely a data class or a data object).
 */
public interface MVIState {

    override fun equals(other: Any?): Boolean
    override fun hashCode(): Int
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy