Skip to content

fix: Ensure CameraPositionState map reference clears when GoogleMap leaves composition. - #108

Closed
arriolac wants to merge 1 commit into
googlemaps:mainfrom
arriolac:chris/fix/106
Closed

fix: Ensure CameraPositionState map reference clears when GoogleMap leaves composition.#108
arriolac wants to merge 1 commit into
googlemaps:mainfrom
arriolac:chris/fix/106

Conversation

@arriolac

@arriolac arriolac commented May 5, 2022

Copy link
Copy Markdown
Contributor

Fixes the issue where the CameraPositionState maintains a reference to a GoogleMap when it is hoisted. The previous implementation did not appropriately clean up after the GoogleMap composable leaves the composition.

TODO:

  • Write unit test

Fixes #106 🦕

…eaves composition.

Change-Id: Iccf615e1a468ea7fbddb652052cec51b5d98a763
@arriolac
arriolac requested a review from barbeau May 5, 2022 04:20
@arriolac

arriolac commented May 5, 2022

Copy link
Copy Markdown
Contributor Author

Closing in favor of #109

@arriolac arriolac closed this May 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

"CameraPositionState may only be associated with one GoogleMap at a time" when used with Accompanist's HorizontalPager

1 participant