Make mapview unable to intercept scroll event. (#308)

This commit is contained in:
Kevin Li
2020-04-03 16:32:02 +08:00
committed by GitHub
parent daecbed823
commit 4fcae9e2bb

View File

@@ -75,6 +75,7 @@ open class GLSurfaceRecyclerViewActivity : AppCompatActivity() {
super.onViewAttachedToWindow(holder)
if (holder is MapHolder) {
val mapView = holder.mapView
mapView.isEnabled = false
mapView.onStart()
mapView.onResume()
}