chat-demo-android/src/main/java/com/twilio/chat/demo/BasicChatClient.java
// Client created, remember the reference and set up UI
Client created, remember the reference and set up UI
Client created remember the reference and set up UI
@Override
    public void onSuccess(ChatClient client)
    {
        logger.d("Received completely initialized ChatClient");
        chatClient = client;
        if (fcmToken != null) {
            setupFcmToken();
        }
        loginListenerHandler.post(new Runnable() {
            @Override
            public void run()
            {
                if (loginListener != null) {
                    loginListener.onLoginFinished();
                }
            }
        });
    }
@ Override public void onSuccess ( ChatClient client ) { logger . d ( "Received completely initialized ChatClient" ) ; chatClient = client ; if ( fcmToken != null ) { setupFcmToken ( ) ; } loginListenerHandler . post ( new Runnable ( ) { @ Override public void run ( ) { if ( loginListener != null ) { loginListener . onLoginFinished ( ) ; } } } ) ; }
Client created, remember the reference and set up UI
Client created remember the reference and set up UI