<@U8617PFNU>, I mean instead of this: ```class Ap...
# android
u
@maxmello, I mean instead of this:
Copy code
class App : Application {
    private val someObject : SomeObject

    fun someMethod() {
        someObject.someMethod()
    }
}
have something like this:
Copy code
interface SomeBehavior {
    fun someMethod()
}

class App : Application, SomeBehavior by someObject {
    private val someObject : SomeObject
}

class SomeObject : SomeBehavior {
    fun someMethod() {
        // TODO implement some method
    }
}