com.autonomousapps.kit.android.AndroidStyleRes.kt Maven / Gradle / Ivy
package com.autonomousapps.kit.android
public class AndroidStyleRes(public val content: String) {
override fun toString(): String = content
internal fun isBlank(): Boolean = content.isBlank() || this == EMPTY
public companion object {
@JvmStatic
public fun of(content: String): AndroidStyleRes = AndroidStyleRes(content)
@JvmStatic
public val EMPTY: AndroidStyleRes = AndroidStyleRes(
"""
""".trimIndent()
)
@JvmStatic
public val DEFAULT: AndroidStyleRes = AndroidStyleRes(
"""
""".trimIndent()
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy