Skip to content

Instantly share code, notes, and snippets.

@bastionkid
Last active September 15, 2022 06:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bastionkid/2ec76463ef967beed6b6b6c78a1c3073 to your computer and use it in GitHub Desktop.
Save bastionkid/2ec76463ef967beed6b6b6c78a1c3073 to your computer and use it in GitHub Desktop.
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