When Empty, Display Special Content in Xamarin.Forms

davidortinau

David Ortinau

Posted on January 12, 2021

When Empty, Display Special Content in Xamarin.Forms

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:

GitHub logo davidortinau / Xappy

A mobile app to track Xamarin news and explore all the goodness that is .NET for Mobile developers

💖 💪 🙅 🚩
davidortinau
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