NaikSoftware / StompProtocolAndroid

STOMP protocol via WebSocket for Android
MIT License
591 stars 265 forks source link

Cannot resolve method subscribe() #191

Open theGeekyLad opened 3 years ago

theGeekyLad commented 3 years ago

Issue

After initialising mStompClient, calling subscribe() on mStompClient.topic() errors out at compile saying:

Cannot resolve method 'subscribe(<lambda expression>)'

What could be the issue?

Details

szakerx commented 3 years ago

Try putting RxJava2 on your classpath.