|
@@ -10,12 +10,14 @@ import com.xuqm.base.adapter.CommonPagedAdapter;
|
|
|
import com.xuqm.base.adapter.ViewHolder;
|
|
|
import com.xuqm.base.ui.BaseListFormLayoutActivity;
|
|
|
|
|
|
+import cn.org.bjca.trust.android.imdemo.MyApplication;
|
|
|
import cn.org.bjca.trust.android.imdemo.R;
|
|
|
import cn.org.bjca.trust.android.imdemo.data.item.MainItem;
|
|
|
import cn.org.bjca.trust.android.imdemo.databinding.ActivityMainBinding;
|
|
|
import cn.org.bjca.trust.android.imdemo.vm.MainVM;
|
|
|
import cn.org.bjca.trust.android.lib.im.SZYXImSdk;
|
|
|
import cn.org.bjca.trust.android.lib.im.kit.IMSDKCallback;
|
|
|
+import cn.org.bjca.trust.android.lib.push.SZYXPushSdk;
|
|
|
|
|
|
public class MainActivity extends BaseListFormLayoutActivity<MainItem, MainVM, ActivityMainBinding> {
|
|
|
|
|
@@ -29,6 +31,7 @@ public class MainActivity extends BaseListFormLayoutActivity<MainItem, MainVM, A
|
|
|
super.initView(savedInstanceState);
|
|
|
showBack(false);
|
|
|
setTitleText("工作台");
|
|
|
+ SZYXPushSdk.getInstance().init(MyApplication.getInstance());
|
|
|
setConfirmText("退出", v -> SZYXImSdk.getInstance().logout(new IMSDKCallback() {
|
|
|
@Override
|
|
|
public void success() {
|