Setup Kotlin DataFrame on Android
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:
This setup adds the general Kotlin DataFrame dependency, which includes the core API and implementation as well as all IO modules (excluding experimental ones). For flexible configuration, see Custom configuration.
Kotlin DataFrame Compiler 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:
Due to this issue, incremental compilation must be disabled for now. Add the following line to your gradle.properties
file:
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.