|
|
@@ -565,8 +565,9 @@ class HomeActivity : BaseMVVMActivity<ActivityHomeBinding, HomeViewModel>(), Vie
|
|
|
ARouter.getInstance().build(RouterUrlCommon.gameIntroduction)
|
|
|
.withString("gameCode", bean.gameCode).withString("id", bean.id)
|
|
|
.withString("playClass", "A").withString("videoUrl", bean.gameVideoUrl)
|
|
|
- .withString("desn", bean.desn).withBoolean("homePage", true)
|
|
|
- .withTransition(R.anim.leftin, R.anim.leftout).navigation(mContext)
|
|
|
+ .withString("desn", bean.desn).withTransition(R.anim.leftin, R.anim.leftout)
|
|
|
+ .navigation(mContext)
|
|
|
+ reportLog("首页任务内容: " + GsonUtil.GsonString(bean))
|
|
|
}
|
|
|
|
|
|
private fun initLiveData() {
|
|
|
@@ -662,17 +663,17 @@ class HomeActivity : BaseMVVMActivity<ActivityHomeBinding, HomeViewModel>(), Vie
|
|
|
*/
|
|
|
private fun makeMessageAsRead(msg: V2TIMMessage) {
|
|
|
runOnUiThread {
|
|
|
- V2TIMManager.getConversationManager().cleanConversationUnreadMessageCount(
|
|
|
- String.format("c2c_%s", msg.sender),
|
|
|
- 0,
|
|
|
- 0,
|
|
|
- object : V2TIMCallback {
|
|
|
- override fun onSuccess() {
|
|
|
- }
|
|
|
+ V2TIMManager.getConversationManager()
|
|
|
+ .cleanConversationUnreadMessageCount(String.format("c2c_%s", msg.sender),
|
|
|
+ 0,
|
|
|
+ 0,
|
|
|
+ object : V2TIMCallback {
|
|
|
+ override fun onSuccess() {
|
|
|
+ }
|
|
|
|
|
|
- override fun onError(p0: Int, p1: String?) {
|
|
|
- }
|
|
|
- })
|
|
|
+ override fun onError(p0: Int, p1: String?) {
|
|
|
+ }
|
|
|
+ })
|
|
|
}
|
|
|
}
|
|
|
|