Just released a small library I've been working on...
# compose
b
Just released a small library I've been working on: Boomerang – a lightweight solution for passing navigation results between screens in Jetpack Compose and AndroidX Fragment apps. For now it supports only Android platform, but I'm planning to make it multiplatform after wider adoption and feedback. If you’ve ever found yourself fighting with tightly coupled navigation flows or trying to pass data back from one screen to another in Compose (without a mess of callbacks, shared ViewModels or weirdly accessing the saved state of previous screen), Boomerang might be just for you. It’s inspired by the
setFragmentResultListener
pattern, but is designed to be modular, minimal, and easy to drop into both Compose and Fragment projects—no matter what navigation library you use. A few things I focused on: • Decoupling producers and consumers of navigation results • Preserving results across configuration changes and process death • Supporting mixed projects (Compose + Fragments) • Keeping dependencies minimal There’s a sample app in the repo showing both Compose and Fragment usage. Feedback, bug reports, and feature requests are all welcome! (via Github Issues) Repo: https://github.com/buszi/Boomerang
c
No cross posting please, its considered spamming. Also for project links and so on there is #C0BJ0GTE2