0

365体育足球滚球比分I use the library I do everything according to the documentation but nothing works.

private Socket mSocket;

{
    try {
        mSocket = IO.socket(URL);
    } catch (URISyntaxException e) {
        throw new RuntimeException(e);
    }
}

@SuppressLint("SetTextI18n")
@Override
protected void onCreate(@Nullable Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    mSocket.connect();

that's what is in build.gradle(app)

implementation 'com.github.nkzawa:socket.io-client:0.6.0'

can anyone explain what my problem is?

| improve this question | | | | |
  • What does "nothing works" mean, do you get an error? – Joni Mar 26 at 11:28
  • I found out that I need to go to the event and the channel, but I don’t know how to do it – t_n_n_97 Mar 26 at 15:15

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.