|
|
@@ -562,12 +562,14 @@ class HomeActivity : BaseMVVMActivity<ActivityHomeBinding, HomeViewModel>(), Vie
|
|
|
* 跳转游戏页面
|
|
|
*/
|
|
|
private fun gameLoading(bean: Record) {
|
|
|
- ARouter.getInstance().build(RouterUrlCommon.gameIntroduction)
|
|
|
- .withString("gameCode", bean.gameCode).withString("id", bean.id)
|
|
|
- .withString("playClass", "A").withString("videoUrl", bean.gameVideoUrl)
|
|
|
- .withString("desn", bean.desn).withTransition(R.anim.leftin, R.anim.leftout)
|
|
|
- .navigation(mContext)
|
|
|
- reportLog("首页任务内容: " + GsonUtil.GsonString(bean))
|
|
|
+ runOnUiThread {
|
|
|
+ ARouter.getInstance().build(RouterUrlCommon.gameIntroduction)
|
|
|
+ .withString("gameCode", bean.gameCode).withString("id", bean.id)
|
|
|
+ .withString("playClass", "A").withString("videoUrl", bean.gameVideoUrl)
|
|
|
+ .withString("desn", bean.desn).withTransition(R.anim.leftin, R.anim.leftout)
|
|
|
+ .navigation(mContext)
|
|
|
+ reportLog("首页任务内容: " + GsonUtil.GsonString(bean))
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
private fun initLiveData() {
|