Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 77050

Does anyone know how I can create a default text for empty tabbed page contents?

$
0
0

I have a TabbedPage that has a ListView. When (and if) one of the tabs are empty, I would like to show a default text (Label). I've tried playing with the CreateDefault() protected method but I don't think that's the right approach. Keep in mind if I have 3 tabs and only one of the tabs has a ListView with no items, only that tab page should have the ListView replaced with a Label. Does anyone know how this can be achieved?


Viewing all articles
Browse latest Browse all 77050

Trending Articles