codebutler / android-websockets

Bare minimum websockets (hybi13/RFC) client for Android
713 stars 494 forks source link

websocketclient.handler can not be resolved #15

Open rohitshinde opened 11 years ago

rohitshinde commented 11 years ago

when i added your code then showing me following error :

WashRinseRepeat commented 10 years ago

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.

kelunik commented 9 years ago

See #13.