Commit 83a495c5 by fengquan

fix: 咨询师详情页

parent 290aa8e9
...@@ -11,7 +11,6 @@ import androidx.fragment.app.Fragment ...@@ -11,7 +11,6 @@ import androidx.fragment.app.Fragment
import androidx.fragment.app.FragmentManager import androidx.fragment.app.FragmentManager
import androidx.fragment.app.FragmentStatePagerAdapter import androidx.fragment.app.FragmentStatePagerAdapter
import androidx.viewpager.widget.ViewPager import androidx.viewpager.widget.ViewPager
import com.alibaba.android.arouter.launcher.ARouter
import com.ydl.ydlcommon.modular.ModularServiceManager import com.ydl.ydlcommon.modular.ModularServiceManager
import com.ydl.ydlcommon.utils.StatusBarUtils import com.ydl.ydlcommon.utils.StatusBarUtils
import com.yidianling.consultant.R import com.yidianling.consultant.R
...@@ -90,9 +89,8 @@ class GPreviewActivity : AppCompatActivity() { ...@@ -90,9 +89,8 @@ class GPreviewActivity : AppCompatActivity() {
chatBtn.setOnClickListener { chatBtn.setOnClickListener {
if (!toUid.isNullOrBlank()) { if (!toUid.isNullOrBlank()) {
ARouter.getInstance().navigation(IImService::class.java) ModularServiceManager.provide(IImService::class.java)
?.startChatBySessionId(context = this, toUid = toUid!!) .startChat(this@GPreviewActivity, toUid.toString(), 0x001, 0, 0, false)
Timer().schedule(object : TimerTask() { Timer().schedule(object : TimerTask() {
override fun run() { override fun run() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment