When Empty, Display Special Content in Xamarin.Forms

David Ortinau - Jan 12 '21 - - Dev Community

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

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .