Skip to content

android example #1349

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

android example #1349

wants to merge 3 commits into from

Conversation

AndreiKingsley
Copy link
Collaborator

No description provided.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

test file? :P

debugImplementation(libs.androidx.ui.tooling)
debugImplementation(libs.androidx.ui.test.manifest)

implementation("org.jetbrains.kotlinx:dataframe:1.0.0-dev-7831")
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe some note about which version to use?

Copy link
Collaborator Author

@AndreiKingsley AndreiKingsley Jul 31, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

WDYM? I'd just like release version to be here (mow Beta-2 doesn't work, so I use dev).

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

implementation("org.jetbrains.kotlinx:dataframe:1.0.0-dev-7831")
For Android maybe it's worth to use core + json etc. dataframe includes apache arrow that, as we now know, doesn't work on Android =(

}
}
}

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It may be nice to add a preview too:

@Preview(showBackground = true)
@Composable
fun DefaultPreview() {
    val df = dataFrameOf(
        "name" to listOf("Andrei", "Nikita", "Jolan"),
        "age" to listOf(22, 16, 37)
    ).cast<Person>()
    DataFrameScreen(df)
}

That way people don't have to build+run the app on an emulator/device but they can preview what their dataframe looks like in Android Studio

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants