Join Slack
Powered by
how to use kotlin sealed classes in java/Rxjava
# announcements
m
Mohamed Ibrahim
11/14/2019, 7:03 AM
how to use kotlin sealed classes in java/Rxjava
t
tseisel
11/14/2019, 7:14 AM
What do you mean by "using a sealed class" in Java ? Sealed class are compiled to an abstract class, you can instantiate its implementations as usual.
m
Mohamed Ibrahim
11/14/2019, 7:16 AM
ok, with Rxjava .. updated my question
p
pg
11/14/2019, 7:19 AM
@Mohamed Ibrahim
If you can instantiate it like
@tseisel
said, then what prevents you to use it ?
m
Mohamed Ibrahim
11/14/2019, 7:31 AM
thank u guys it was simple
3
Views
Open in Slack
Previous
Next