Djaka Pradana Jaya Priambudi
10/03/2022, 10:52 AMclass Presenter: MoleculePresenter {
var search by mutableStateOf(")
@Composable
fun present(event: Event): State {
CollectEffect(event) {
when(event) {
eventB()
}
}
...
}
private fun eventB() {
saveToRecentSearch(search)
search = ""
}
}
But after seeing lot of presentation from cashapp or regarding molecule, none of them are doing this so I'm curious why they didn't do this