Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Redacted code for Observer loop crash
interface Observer {
fun onStatusChange()
}
class ObserverImpl: Observer {
override fun onStatusChange() {
// do some operation
}
}
val observers = mutableListOf<Observer>()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment