Android

Navi

Quickly generate boilerplate code for Compose navigation. This project is not affiliated with Android, Google, or JetBrains in any way.

Arguments

Navi tries to detect Lists and Arrays by class name. If you have some other iterable or detection doesn't work, you can help out with the "Is Iterable" checkbox.

Who is this for?

This is for you, if you want to follow Google's Compose navigation guidelines, but find its boilerplate code rather annoying. This generator does not lock you into another third-party navigation library (framework?), but rather adds to what is already there.

I've also written an experimental KSP plugin, but I find it to inflexible. Sometimes you just have one argument and so a dedicated class is a bit over the top. Moreover, you still have code to write for deeplinks, the content, etc. With this generator you are free to modify the generated code to your liking, without dozens of KSP parameters.

About

Find the source code on github.com/JanMalch/navi-web.