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

Fix Failing Favorites Message #4

Open
mrengineer7777 opened this issue Jul 21, 2020 · 0 comments
Open

Fix Failing Favorites Message #4

mrengineer7777 opened this issue Jul 21, 2020 · 0 comments

Comments

@mrengineer7777
Copy link

The "Added Favorite" message fires inconsistently on this project, especially after the 2nd item.
Fix is to update packages.

Update packages on all projects from
<PackageReference Include="Xamarin.Forms" Version="4.4.0.991265" /> <PackageReference Include="Xamarin.Essentials" Version="1.3.1" />
to
<PackageReference Include="Xamarin.Forms" Version="4.7.0.1142" /> <PackageReference Include="Xamarin.Essentials" Version="1.5.3.2" />

XAML changes: added "xmlns:viewModels" reference and BindingContext. Also set SwipeView BackgroundColor="Transparent" to fix change with Xamarin.Forms Upgrade.

XAML.cs changes: Fixed a possible null reference exception, and awaited the alert.

See attached PDFs for code changes.

FavFightersView_xaml.pdf
FavFightersView_xaml_cs.pdf

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

No branches or pull requests

1 participant