Skip to content
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

how should I use it in Java #17

Open
prasenjeetbansode opened this issue Jul 26, 2022 · 1 comment
Open

how should I use it in Java #17

prasenjeetbansode opened this issue Jul 26, 2022 · 1 comment

Comments

@prasenjeetbansode
Copy link

I want to use it with Java.

@akexorcist
Copy link
Owner

akexorcist commented Jul 26, 2022

You can use this library in your java project with 100% java interoperability in Kotlin

for example

SnapTimePickerDialog dialog = new SnapTimePickerDialog.Builder()
        .setTitle(/* ... */)
        .setPrefix(/* ... */)
        .setSuffix(/* ... */)
        .setThemeColor(/* ... */)
        .setTitleColor(/* ... */)
        .build();
dialog.show(getSupportFragmentManager(), /* ... */);

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

No branches or pull requests

2 participants