Key

data class Key<T>(val keyName: String, val valueType: KeyType<T>)

Application context key with type safety.

Author

Akshay Jain

Parameters

Constructors

Link copied to clipboard
constructor(keyName: String, valueType: KeyType<T>)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

name of the key

Link copied to clipboard

type of value that will be stored for this key in the context

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String