Skip to content

Instantly share code, notes, and snippets.

View morganbovi's full-sized avatar

Morgan Bovi morganbovi

  • Nashville, TN
View GitHub Profile
@morganbovi
morganbovi / PrenterWithCallback.kt
Created April 20, 2022 16:32
Presenter using callbacks instead of and event bus
// VIEW
@Composable
fun ArticleScreen() {
val presenter: ArticlePresenter by inject() // koin compose ext
val model = presenter.present()
ArticleView(model, presenter)
}