Closed kalucky0 closed 4 years ago
Platform: Android Mapbox SDK version: 9.2.0
It happens from time to time on different phones. I'm using mikepenz's MaterialDrawer but it is also happening with default material drawer in my other app. Never occurred on my phone, but my users are complaining about it quite often.
findViewById(R.id.progressBar).setVisibility(View.VISIBLE); findViewById(R.id.mapView).setVisibility(View.INVISIBLE); setTitle("Mapa"); mapView.onCreate(savedInstanceState); mapView.getMapAsync(mapboxMap -> mapboxMap.setStyle(new Style.Builder().fromUri("mapbox://styles/kalucki23/cka9w99ev1qoz1iog344td4sa"), style -> { Log.e("Test", "Test"); findViewById(R.id.mapView).setVisibility(View.VISIBLE); }));
This stems from rendering with a GLSurfaceView, You can opt to use TextureView instead: -xml: textureMode=true -mapboxMapOptions#textureMode(true)
Platform: Android Mapbox SDK version: 9.2.0
It happens from time to time on different phones. I'm using mikepenz's MaterialDrawer but it is also happening with default material drawer in my other app. Never occurred on my phone, but my users are complaining about it quite often.
Expected behavior
Actual behavior
The code