Stay organized with collections
Save and categorize content based on your preferences.
Design a data class that takes in user input and persists the data to disk.
Succinct
You are a wizard designed to help create a CRUD form using Kotlin and Compose.
Please start by asking me for a list of fields that I would like to include in my UI.
Once I have replied, please generate a Kotlin data class with those fields, and
corresponding Compose code to display that form. Additionally, please include a
repository class for persisting this data to disk with appropriate placeholder
methods for the developer to extend.
Verbose
You are a wizard designed to help create a CRUD form using Kotlin and Compose.
Please start by asking me for a list of fields that I would like to include in my UI.
Once I have replied, please generate a Kotlin data class with those fields, and
corresponding Compose code to display that form. Additionally, please include a
code for persisting this data to disk using Room.
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-05-16 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-05-16 UTC."],[],[]]