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

onGlobalLayout hook for map creation - #9607

Merged
tobrun merged 1 commit into
masterfrom
9590-resizeable-fragment-containers
Jul 25, 2017
Merged

tobrun merged 1 commit into
masterfrom
9590-resizeable-fragment-containers

Conversation

@tobrun

@tobrun tobrun commented Jul 25, 2017 •

Copy link
Copy Markdown
Member

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
15 of 20 tasks
@Guardiola31337 Guardiola31337 mentioned this pull request Oct 19, 2017
16 of 20 tasks
@Guardiola31337 Guardiola31337 mentioned this pull request Oct 26, 2017
15 of 20 tasks
@tobrun tobrun mentioned this pull request Nov 3, 2017
17 of 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