DEV Community

Discussion on: Communication between Fragment and Activity

Collapse
 
nottylerjames profile image
Tyler Healey

Have you found a clean way of implementing a Coordinator/Flow Controller pattern on Android? Seems like you'd have one Activity as the flow controller and multiple fragments that communicate back to the Activity. Since the Lambda doesn't work I suppose the delegate pattern would be best.

As a side note I should really get into Kotlin, it's so Swift-like that it took me a few seconds to realize this was an Android article.