[fea]
[Home + 路程信息]
This commit is contained in:
yangyakun
2025-04-21 17:02:51 +08:00
parent dc78ecc834
commit 0d7c8165b3
24 changed files with 249 additions and 85 deletions

View File

@@ -25,7 +25,7 @@ import com.mogo.eagle.core.utilcode.mogo.AppIdentityModeUtils
import com.mogo.eagle.core.utilcode.mogo.view.OnPreventFastClickListener
import com.mogo.map.listener.IMogoMapListener
import com.mogo.map.listener.MogoMapListenerHandler
import kotlinx.android.synthetic.main.view_map_container.view.mapBizView
import kotlinx.android.synthetic.main.view_map_container.view.mHomeView
import kotlinx.android.synthetic.main.view_map_container.view.overMapView
import kotlinx.android.synthetic.main.view_map_container.view.shadowView
import kotlinx.android.synthetic.main.view_map_container.view.visualAngleToggle
@@ -63,30 +63,30 @@ class MapContainerLayout @JvmOverloads constructor(
}
fun onCreate(savedInstanceState: Bundle?) {
mapBizView.onCreate(savedInstanceState)
mHomeView.onCreate(savedInstanceState)
overMapView.onCreateView(savedInstanceState)
}
fun onResume() {
mapBizView.onResume()
mHomeView.onResume()
overMapView.onResume()
}
fun onPause() {
mapBizView.onPause()
mHomeView.onPause()
overMapView.onPause()
}
fun onLowMemory() {
mapBizView.onLowMemory()
mHomeView.onLowMemory()
}
fun onSaveInstanceState(outState: Bundle) {
mapBizView.onSaveInstanceState(outState)
mHomeView.onSaveInstanceState(outState)
}
fun onDestroy() {
mapBizView.onDestroy()
mHomeView.onDestroy()
overMapView.onDestroy()
}

View File

@@ -9,7 +9,7 @@
<!--高精地图-->
<com.mogo.eagle.core.function.view.MapBizView
android:id="@+id/mapBizView"
android:id="@+id/mHomeView"
android:layout_width="match_parent"
android:layout_height="match_parent"
app:isWeatherEnable="false"