<@U6P03BM0W> just add a layer on top: ``` inline f...
# announcements
a
@dave08 just add a layer on top:
Copy code
inline fun <reified T> sharedPrefs<T>(): MyDelegate = MyDelegate(T::class)

class MyDelegate(private val cls: KClass<*>) {
    operator fun getValue(thisRef: Any?, property: KProperty<*>): String {
        when(cls) {
            Int::class -> 
            .....
    }

    .....
}