// Path: sample-chat/src/main/java/com/quickblox/sample/chatadapter/utils/Consts.java
// public interface Consts {
//     String APP_ID = "92";
//     String AUTH_KEY = "wJHdOcQSxXQGWx5";
//     String AUTH_SECRET = "BTFsj7Rtt27DAmT";
//     String ACCOUNT_KEY = "rz2sXxBt5xgSxGjALDW6";
// 
//     String userOneLogin = "firstuserfirstuser";
//     String userTwoLogin = "seconduserseconduser";
// 
//     String userPassword = "x6Bt0VDy5";
// 
//     int userOneID = 16575824;
//     int userTwoID = 16575844;
// }


import android.app.Application;
import com.quickblox.auth.session.QBSettings;
import com.quickblox.sample.chatadapter.utils.Consts;
package com.quickblox.sample.chatadapter;




public class App extends Application {

    private static App instance;

    public static synchronized App getInstance() {
        return instance;
    }

    @Override
    public void onCreate() {
        super.onCreate();
        instance = this;

// Path: sample-chat/src/main/java/com/quickblox/sample/chatadapter/utils/Consts.java
// public interface Consts {
//     String APP_ID = "92";
//     String AUTH_KEY = "wJHdOcQSxXQGWx5";
//     String AUTH_SECRET = "BTFsj7Rtt27DAmT";
//     String ACCOUNT_KEY = "rz2sXxBt5xgSxGjALDW6";
// 
//     String userOneLogin = "firstuserfirstuser";
//     String userTwoLogin = "seconduserseconduser";
// 
//     String userPassword = "x6Bt0VDy5";
// 
//     int userOneID = 16575824;
//     int userTwoID = 16575844;
// }


// Path: sample-chat/src/main/java/com/quickblox/sample/chatadapter/App.java
import android.app.Application;
import com.quickblox.auth.session.QBSettings;
import com.quickblox.sample.chatadapter.utils.Consts;

package com.quickblox.sample.chatadapter;




public class App extends Application {

    private static App instance;

    public static synchronized App getInstance() {
        return instance;
    }

    @Override
    public void onCreate() {
        super.onCreate();
        instance = this;

        QBSettings.getInstance().init(getApplicationContext(), Consts.APP_ID, Consts.AUTH_KEY, Consts.AUTH_SECRET);