|
@@ -21,6 +21,7 @@ import com.cooleshow.base.utils.GsonUtils;
|
|
|
import com.cooleshow.base.utils.JumpUtils;
|
|
|
import com.cooleshow.base.utils.LogUtils;
|
|
|
import com.cooleshow.base.utils.ToastUtil;
|
|
|
+import com.cooleshow.base.utils.UiUtils;
|
|
|
import com.cooleshow.base.utils.helper.MidiFileHelper;
|
|
|
import com.cooleshow.base.utils.helper.PushIntentParseHelper;
|
|
|
import com.cooleshow.base.utils.helper.QMUIStatusBarHelper;
|
|
@@ -187,6 +188,13 @@ public class MainActivity extends BaseMVPActivity<ActivityInstitutionMainLayoutB
|
|
|
return;
|
|
|
}
|
|
|
if (id == R.id.view_chat) {
|
|
|
+ if (UiUtils.isFastClick(200)) {
|
|
|
+ //双击操作
|
|
|
+ if (mChatFragment != null) {
|
|
|
+ mChatFragment.onFindConversationUnRead();
|
|
|
+ }
|
|
|
+ return;
|
|
|
+ }
|
|
|
viewBinding.viewPager.setCurrentItem(1, false);
|
|
|
setTabTextStyle(viewBinding.tvChat);
|
|
|
updateBottomTabStyle(false);
|