```object: OnObbStateChangeListener() { overri...
# android
h
Copy code
object: OnObbStateChangeListener() {
    override fun onObbStateChange(path: String?, state: Int) { ... } }
u
hasen: you can wrap it to extension function that takes a lambda and sets this this listener
h
Ah, good idea! Thanks!
u
You're welcome. Also, if you mark this extension as
inline
there'll be zero overhead.