fun generate()

in aspoet/src/main/kotlin/com/google/androidstudiopoet/generators/android_modules/resources/LayoutResourcesGenerator.kt [27:38]


    fun generate(blueprint: LayoutBlueprint) {
        if (blueprint.enableCompose) {
            return
        }
        var layoutText = XML_FILE_PREFIX
        if (blueprint.hasLayoutTag) {
            layoutText = generateLayoutTag(blueprint)
        } else {
            layoutText += generateScrollView(blueprint)
        }
        fileWriter.writeToFile(layoutText, blueprint.filePath)
    }