android-websockets
android-websockets copied to clipboard
websocketclient.handler can not be resolved
when i added your code then showing me following error :
- websocketclient.handler can not be resolved
i already import classes as needed.
Hi, I also just had the same problem. The example code is incorrect. you will need to call it as such:
final WebSocketClient client = new WebSocketClient(URI.create("wss://irccloud.com"), new WebSocketClient.Listener() { //etc. }
Notice it isn't making a new Handler but rather a Listener. It amounts to the same thing.
See #13.