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

Java compatibility #1

Closed
rajam1215 opened this issue Jun 14, 2019 · 4 comments
Closed

Java compatibility #1

rajam1215 opened this issue Jun 14, 2019 · 4 comments

Comments

@rajam1215
Copy link

Hello @ismaeldivita

Please make this library for java compatible, so we can use in java project also. It is very good looking working is there.

Thanks

@rajam1215 rajam1215 changed the title Java compatible Java compatibility Jun 14, 2019
@ismaeldivita
Copy link
Owner

In a java project, you may need to add this to your dependency since this is a Kotlin library
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlinVersion"

@rajam1215
Copy link
Author

In a java project, you may need to add this to your dependency since this is a Kotlin library
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlinVersion"

Hello @ismaeldivita
i know this thing, but i need java compatible code implementation, like onClick listener of menu, onItem click listener, now it is base on kotlin language, i want java compatible code for this library.

Thanks

@ismaeldivita
Copy link
Owner

This is not working for you? 🤔

menu.setOnItemSelectedListener(new ChipNavigationBar.OnItemSelectedListener() {
    @Override
    public void onItemSelected(int id) {
        // TODO
    }
});

@rajam1215
Copy link
Author

This is not working for you?

menu.setOnItemSelectedListener(new ChipNavigationBar.OnItemSelectedListener() {
    @Override
    public void onItemSelected(int id) {
        // TODO
    }
});

Hello @ismaeldivita

Why it's not working for me, While the time i close that issue, if i want any solution regarding library, i will come back to you.

Thanks

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