Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

Commit

Permalink
[android] - rollback fragment flash changes for ViewPager support
Browse files Browse the repository at this point in the history
  • Loading branch information
tobrun committed Jan 23, 2018
1 parent 938f087 commit 80789ab
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle sa
super.onCreateView(inflater, container, savedInstanceState);
Context context = inflater.getContext();
map = new MapView(context, MapFragmentUtils.resolveArgs(context, getArguments()));
map.setVisibility(View.INVISIBLE);
return map;
}

Expand All @@ -91,7 +90,6 @@ public void onMapReady(MapboxMap mapboxMap) {
for (OnMapReadyCallback onMapReadyCallback : mapReadyCallbackList) {
onMapReadyCallback.onMapReady(mapboxMap);
}
map.setVisibility(View.VISIBLE);
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle sa
super.onCreateView(inflater, container, savedInstanceState);
Context context = inflater.getContext();
map = new MapView(context, MapFragmentUtils.resolveArgs(context, getArguments()));
map.setVisibility(View.INVISIBLE);
return map;
}

Expand All @@ -91,7 +90,6 @@ public void onMapReady(MapboxMap mapboxMap) {
for (OnMapReadyCallback onMapReadyCallback : mapReadyCallbackList) {
onMapReadyCallback.onMapReady(mapboxMap);
}
map.setVisibility(View.VISIBLE);
}

/**
Expand Down

0 comments on commit 80789ab

Please sign in to comment.