Skip to content

Instantly share code, notes, and snippets.

Created Nov 20, 2021
What would you like to do?
val file = codeGenerator.createNewFile(
dependencies = Dependencies(false, *resolver.getAllFiles().toList().toTypedArray()),
packageName = packageName,
fileName = "GeneratedFunctions"
file addLine "package $packageName"
file addLine "import androidx.navigation.*"
symbols.forEach { it.accept(Visitor(file, resolver), Unit) }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment