-
Notifications
You must be signed in to change notification settings - Fork 149
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: switched from set() to update() #564
Conversation
maps-compose/src/main/java/com/google/maps/android/compose/Marker.kt
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the updates. There are a few places left where state & contentDescription are still in a different order.
Also, are you still planning to deprecate the functions without contentDescription, possibly together with a tracking issue/PR? There are so many similar-looking functions in this file that it would be good not to permanently add even more.
Personally I'd just drop the old functions and make it a breaking change. It's trivial for users to change the calling params as needed.
maps-compose/src/main/java/com/google/maps/android/compose/Marker.kt
Outdated
Show resolved
Hide resolved
maps-compose/src/main/java/com/google/maps/android/compose/Marker.kt
Outdated
Show resolved
Hide resolved
maps-compose/src/main/java/com/google/maps/android/compose/Marker.kt
Outdated
Show resolved
Hide resolved
maps-compose/src/main/java/com/google/maps/android/compose/Marker.kt
Outdated
Show resolved
Hide resolved
maps-compose/src/main/java/com/google/maps/android/compose/Marker.kt
Outdated
Show resolved
Hide resolved
maps-compose/src/main/java/com/google/maps/android/compose/Marker.kt
Outdated
Show resolved
Hide resolved
The constructors should have now all the parameters in order. Regarding the breaking change: I would not like to release this as a standalone fix/feature and a breaking change. However, we can pack it together with #516 and/or #521, to minimize the amount of major releases, which are always painful. |
Sounds fine. Right now the changes are inconsistent. |
@bubenheimer , we will go with a breaking change, so a single constructor with |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please revert 450d842 prior to merge, it was a bad commit.
This was fixed before the merge, thanks! |
🎉 This PR is included in version 4.4.3 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
🎉 This PR is included in version 5.0.0 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
update()
should be favoured overset()
. From the documentation:This is likely impacting performance during recomposition.
Before submitting your PR, there are a few things you can do to make sure it goes smoothly:
Fixes #547 🦕