Skip to content

Instantly share code, notes, and snippets.

@dilrajsingh1997
Created Nov 20, 2021
Embed
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