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

What's the right way to use v6 in Java? #160

Closed
ashishb opened this issue Mar 7, 2024 · 3 comments
Closed

What's the right way to use v6 in Java? #160

ashishb opened this issue Mar 7, 2024 · 3 comments

Comments

@ashishb
Copy link

ashishb commented Mar 7, 2024

Can you please provide sample code to use v6 version in Java (not Kotlin)?
I am trying to migrate from v5 and am failing at the feed fetching step.

@prof18
Copy link
Owner

prof18 commented Mar 16, 2024

Hi!
version 6 doesn't support Java anymore! You can still use version 5 in that scenario.

@prof18 prof18 closed this as completed Mar 16, 2024
@ashishb
Copy link
Author

ashishb commented Mar 22, 2024

@prof18 Any reason for dropping Java support? I understand limited support but fully dropping it sounds a bit too much.

I can't just magically convert my app from Java to Kotlin.
I was planning to add more extensions to your Rss-Parser but if I can't use it then I will have to pretty much re-create your library from scratch :|

@prof18
Copy link
Owner

prof18 commented Mar 23, 2024

Hi,

because time is limited, and the ecosystem is Kotlin first now. You can still use the v5, or I've realized that you can still use the v6 from Java. You will need some Kotlin code as a wrapper to transform into CompletableFuture or ListeneableFuture. I've added some docs about it and a sample.

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