diff options
author | Tobrun <tobrun.van.nuland@gmail.com> | 2018-01-23 11:13:17 +0100 |
---|---|---|
committer | Tobrun <tobrun@mapbox.com> | 2018-01-23 12:09:48 +0100 |
commit | 80789ab2c8a8538afc63141619158bdd3a332003 (patch) | |
tree | 51714aa4446ef659f9e326c74ac755afee8f0eff /platform | |
parent | 938f087e3873c6eda69e385659ac2a75f52eda6c (diff) | |
download | qtlocation-mapboxgl-80789ab2c8a8538afc63141619158bdd3a332003.tar.gz |
[android] - rollback fragment flash changes for ViewPager supportandroid-v5.3.2
Diffstat (limited to 'platform')
2 files changed, 0 insertions, 4 deletions
diff --git a/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/MapFragment.java b/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/MapFragment.java index 0c11a4220e..5fcf206a5a 100644 --- a/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/MapFragment.java +++ b/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/MapFragment.java @@ -68,7 +68,6 @@ public final class MapFragment extends Fragment implements OnMapReadyCallback { super.onCreateView(inflater, container, savedInstanceState); Context context = inflater.getContext(); map = new MapView(context, MapFragmentUtils.resolveArgs(context, getArguments())); - map.setVisibility(View.INVISIBLE); return map; } @@ -91,7 +90,6 @@ public final class MapFragment extends Fragment implements OnMapReadyCallback { for (OnMapReadyCallback onMapReadyCallback : mapReadyCallbackList) { onMapReadyCallback.onMapReady(mapboxMap); } - map.setVisibility(View.VISIBLE); } /** diff --git a/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/SupportMapFragment.java b/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/SupportMapFragment.java index c072ec8237..8aa4c7fd09 100644 --- a/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/SupportMapFragment.java +++ b/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/SupportMapFragment.java @@ -68,7 +68,6 @@ public class SupportMapFragment extends Fragment implements OnMapReadyCallback { super.onCreateView(inflater, container, savedInstanceState); Context context = inflater.getContext(); map = new MapView(context, MapFragmentUtils.resolveArgs(context, getArguments())); - map.setVisibility(View.INVISIBLE); return map; } @@ -91,7 +90,6 @@ public class SupportMapFragment extends Fragment implements OnMapReadyCallback { for (OnMapReadyCallback onMapReadyCallback : mapReadyCallbackList) { onMapReadyCallback.onMapReady(mapboxMap); } - map.setVisibility(View.VISIBLE); } /** |