Setup Kotlin DataFrame on Android
1. Add the plugin
Kotlin DataFrame Compiler Plugin enables automatic generation of extension properties and updates data schemas on-the-fly in Android projects, making development with Kotlin DataFrame faster, more convenient, and fully type- and name-safe.
To enable the plugin in your Gradle project, add it to the plugins section:
In versions older than Kotlin 2.4.0 add following line to your gradle.properties:
2. Add the library
Kotlin DataFrame doesn't provide a dedicated Android artifact yet, but you can add the Kotlin DataFrame JVM dependency to your Android project with minimal configuration:
Next Steps
Once Kotlin DataFrame is set up in your Android project, continue with the Quickstart Guide to learn the basics of working with DataFrames.
Explore detailed guides and real-world examples to see how Kotlin DataFrame helps in different data tasks.
Check out the Android project example and more IDEA examples on GitHub.
Learn more about the compiler plugin.