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

Update XF to remove AndroidX dependency hack #1544

Merged
merged 2 commits into from
Sep 23, 2021
Merged

Update XF to remove AndroidX dependency hack #1544

merged 2 commits into from
Sep 23, 2021

Conversation

mpbw2
Copy link
Contributor

@mpbw2 mpbw2 commented Sep 22, 2021

The SR5 release of Xamarin Forms (5.0.0.2125) fixed the broken AndroidX & Material dependencies of the previous release, allowing us to remove the extra dependencies added in #1471 and update others to the latest without breaking the build. This will close this Asana task.

(Note this does not yet fix this Asana task which we worked around in #1447 and #1454)

Also updated LiteDB, AppCenter, and .NET Test SDK to the latest.

@mpbw2 mpbw2 added the hold do not merge yet label Sep 22, 2021
Copy link

@cscharf cscharf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just one small item.

@@ -49,7 +49,7 @@ private BottomNavigationView GetBottomNavigationView()
return null;
}

async void BottomNavigationView.IOnNavigationItemReselectedListener.OnNavigationItemReselected(IMenuItem item)
public async void OnNavigationItemReselected(IMenuItem item)
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this be async void or async Task? Feels like we need async Task to avoid latent exceptions or app crashes that aren't handled through this async call.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like we don't have a choice...

image

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bummer, I didn't realize it was an interface method implementation. With async void you'll need to ensure that there's proper error handling/try-catch blocks to ensure exceptions are bubbled up outside of latent execution where we'd lose the stack-trace, etc.

@mpbw2 mpbw2 removed the hold do not merge yet label Sep 23, 2021
@cscharf cscharf self-requested a review September 23, 2021 16:40
@mpbw2 mpbw2 merged commit 8d23bc8 into master Sep 23, 2021
@mpbw2 mpbw2 deleted the update-forms branch September 23, 2021 17:11
@cscharf cscharf linked an issue Oct 26, 2021 that may be closed by this pull request
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.

[iOS Accessibility] VoiceOver always seeing fields for all entry types
2 participants