Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Jetpack Compose usage #100

Open
Fr3di opened this issue May 8, 2024 · 3 comments
Open

Jetpack Compose usage #100

Fr3di opened this issue May 8, 2024 · 3 comments

Comments

@Fr3di
Copy link

Fr3di commented May 8, 2024

Is it possible to use the map (map-display) with Jetpack Compose?
I am struggling to display the map without using xml

@Czeach
Copy link

Czeach commented May 11, 2024

Yes @Fr3di, it's possible. I've written about it here

@Fr3di
Copy link
Author

Fr3di commented May 11, 2024

Thx but it still requires to use xml file which ideally I would like to avoid after moving fully to Jetpack Compose. Unfortunatelly seems like that's the only way for now. Thx anyway @Czeach :)

@Czeach
Copy link

Czeach commented May 11, 2024

You can actually do it without creating the xml container, just replace the container id with R.id.content when creating the map fragment. It'll work but it's less ideal.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants