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

onGlobalLayout hook for map creation #9607

Merged
merged 1 commit into from
Jul 25, 2017

Conversation

tobrun
Copy link
Member

@tobrun tobrun commented Jul 25, 2017

closes #9590, this PR hooks into onGlobalLayout versus onVisibilityChanged. As noted in #9590, dynamic fragment containers as ViewPager don't call into onVisibilityChanged. Hooking into onGlobalLayout instead resolves the issue. The issue stems from #9462 where we decoupled view an map initialization.

@tobrun tobrun added the Android Mapbox Maps SDK for Android label Jul 25, 2017
@tobrun tobrun added this to the android-v5.2.0 milestone Jul 25, 2017
@tobrun tobrun self-assigned this Jul 25, 2017
@tobrun tobrun requested a review from ivovandongen July 25, 2017 12:14
@tobrun tobrun merged commit 906fc04 into master Jul 25, 2017
@tobrun tobrun deleted the 9590-resizeable-fragment-containers branch July 25, 2017 13:16
@Guardiola31337 Guardiola31337 mentioned this pull request Oct 6, 2017
20 tasks
@Guardiola31337 Guardiola31337 mentioned this pull request Oct 19, 2017
20 tasks
@Guardiola31337 Guardiola31337 mentioned this pull request Oct 26, 2017
20 tasks
@tobrun tobrun mentioned this pull request Nov 3, 2017
21 tasks
This was referenced Nov 14, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Android Mapbox Maps SDK for Android
Projects
None yet
Development

Successfully merging this pull request may close these issues.

MapFragments and SupportMapFragment in resizeable containers
2 participants