Package-level declarations
Types
Link copied to clipboard
Link copied to clipboard
annotation class InternalKotoseUtilsApi
Marks internal API that should not be used by library consumers.
Link copied to clipboard
object KotoseUtils
Link copied to clipboard
class KotoseUtilsConfig
Link copied to clipboard
data class PainterRes(@DrawableRes val res: Int? = null, val vector: ImageVector? = null, val bitmap: ImageBitmap? = null, val painter: Painter? = null)
Link copied to clipboard
Wraps platform-native string resource identifiers.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Unified string resource wrapper supporting platform-native resources (PlatformStrRes), Compose Multiplatform resources (StringResource, PluralStringResource), and plain text.
Functions
Link copied to clipboard
Provide Android Context so that PlatformStrRes.getStringSuspend can resolve string resources without a Compose scope.
Link copied to clipboard
Link copied to clipboard
inline fun <T> rememberResource(crossinline block: @DisallowComposableCalls ERROR CLASS: Symbol not found for Resources.() -> T): T
inline fun <T> rememberResource(key1: Any?, crossinline block: @DisallowComposableCalls ERROR CLASS: Symbol not found for Resources.() -> T): T
inline fun <T> rememberResource(vararg keys: Any?, crossinline block: @DisallowComposableCalls ERROR CLASS: Symbol not found for Resources.() -> T): T
inline fun <T> rememberResource(key1: Any?, key2: Any?, crossinline block: @DisallowComposableCalls ERROR CLASS: Symbol not found for Resources.() -> T): T
inline fun <T> rememberResource(key1: Any?, key2: Any?, key3: Any?, crossinline block: @DisallowComposableCalls ERROR CLASS: Symbol not found for Resources.() -> T): T
Link copied to clipboard
inline fun <T> rememberResourceAsState(crossinline block: @DisallowComposableCalls ERROR CLASS: Symbol not found for Resources.() -> T): State<T>
inline fun <T> rememberResourceAsState(key1: Any?, crossinline block: @DisallowComposableCalls ERROR CLASS: Symbol not found for Resources.() -> T): State<T>
inline fun <T> rememberResourceAsState(vararg keys: Any?, crossinline block: @DisallowComposableCalls ERROR CLASS: Symbol not found for Resources.() -> T): State<T>
inline fun <T> rememberResourceAsState(key1: Any?, key2: Any?, crossinline block: @DisallowComposableCalls ERROR CLASS: Symbol not found for Resources.() -> T): State<T>
inline fun <T> rememberResourceAsState(key1: Any?, key2: Any?, key3: Any?, crossinline block: @DisallowComposableCalls ERROR CLASS: Symbol not found for Resources.() -> T): State<T>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun Int.toPlatformStrRes(quantity: Int, formatArgs: ImmutableList<Any> = persistentListOf()): PlatformStrRes
Link copied to clipboard