When Empty, Display Special Content in Xamarin.Forms
David Ortinau
Posted on January 12, 2021
With Xamarin.Essentials it's very easy to check for internet connectivity, and with CollectionView
(same goes for BindableLayout
) you can choose to display alternate content so your user knows what's going on. This video shows you how to do just that.
Of course, you won't want to show this when loading content, so use your IsRefreshing
to display something slightly different in the EmptyView during that phase.
Forgive my poor layout, I polished that up a little after recording. :)
Resources:
davidortinau / Xappy
A mobile app to track Xamarin news and explore all the goodness that is .NET for Mobile developers
💖 💪 🙅 🚩
David Ortinau
Posted on January 12, 2021
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.
Related
dotnet How to Build Mobile Document Scanning App with Xamarin.Forms for Android and iOS
November 11, 2022