Skip to content
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

Fixed never re laying out the view when Margin bound value changes on Android #4388

Merged
merged 1 commit into from Mar 7, 2022

Conversation

entdark
Copy link
Contributor

@entdark entdark commented Mar 7, 2022

✨ What kind of change does this PR introduce? (Bug fix, feature, docs update...)

Fixes a bug when Android Margin bindings value gets changed but the layout remain the same

⤵️ What is the current behavior?

Any change on Margin doesn't update the layout.
Look at the space between 2 messages with "hi": https://i.imgur.com/6on0cZg.png
MarginBottom changed from 15 to 7.5.

🆕 What is the new behavior (if this is a feature change)?

Any change on Margin does update the layout.
No more space between 2 messages with "hi": https://i.imgur.com/wbaDbOx.png
MarginBottom changed from 15 to 7.5.

💥 Does this PR introduce a breaking change?

No.

🐛 Recommendations for testing

Yes.

📝 Links to relevant issues/docs

🤔 Checklist before submitting

@dnfadmin
Copy link

dnfadmin commented Mar 7, 2022

CLA assistant check
All CLA requirements met.

@Cheesebaron Cheesebaron added p/android Android platform t/bug Bug type labels Mar 7, 2022
@Cheesebaron Cheesebaron merged commit 6994a12 into MvvmCross:develop Mar 7, 2022
@entdark entdark deleted the android_margin_relayout_fix branch March 7, 2022 10:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
p/android Android platform t/bug Bug type
Development

Successfully merging this pull request may close these issues.

None yet

3 participants