语音打开事件面板
This commit is contained in:
@@ -257,23 +257,11 @@ class V2XEventPanelFragment : MvpFragment<V2XEventPanelFragment, EventPanelPrese
|
||||
* 语音查询热心指数需求
|
||||
* */
|
||||
fun showPanelWithSelectedItem(item: Int) {
|
||||
if (isPanelShow()) {
|
||||
try {
|
||||
when (item) {
|
||||
0 -> mV2XScenarioHistoryFragment.ttsForVoiceCheckout()
|
||||
1 -> mV2XSurroundingFragment.ttsForVoiceCheckout()
|
||||
else -> mV2XShareEventsFragment.ttsForVoiceCheckout()
|
||||
}
|
||||
} catch (e: java.lang.Exception) {
|
||||
|
||||
}
|
||||
|
||||
} else {
|
||||
showPanel()
|
||||
selectWithItem(item)
|
||||
}
|
||||
showPanel()
|
||||
selectWithItem(item)
|
||||
}
|
||||
|
||||
|
||||
private fun initDetail() {
|
||||
mDetailRecyclerView!!.addItemDecoration(SpacesItemDecoration(resources.getDimension(R.dimen.share_item_padding).toInt()))
|
||||
mSurroundingDetailAdapter = V2XSurroundingDetailAdapter(activity, markerExploreWays)
|
||||
|
||||
Reference in New Issue
Block a user