jsmarcus / Iconize

Use icon fonts in your Xamarin.Forms application!
Other
204 stars 71 forks source link

TabbedPage inside a NavigationPage #72

Open Schinwinkwinsky opened 6 years ago

Schinwinkwinsky commented 6 years ago

Hello everybody! I´m so excited to use this Nuget package, but I have a lot of doubts. I tried and tried, but I couldn´t configure my project to use it.

Following the instructions on README, it says that to use IconToolbarItem it´s required to use IconNavigationPage. And seeing at the sample files I saw on Iconize/samples/Iconize.Sample/App.xaml.cs that it was instantiated an IconTabbedPage at line 34, and it was included inside an IconNavigationPage at line 47.

But the Xamarin documentation at: https://docs.microsoft.com/en-us/xamarin/xamarin-forms/app-fundamentals/navigation/tabbed-page

We can see the following alert: esboco

How to solve this problem?

acastr7 commented 6 years ago

You should be able to do IconTabbedPage -> IconNavigationPage -> ContentPage. You will probably need to add an Icon to your navigation page since the IconTabbedPage looks directly at the children for the icons.

Schinwinkwinsky commented 6 years ago

It worked! Thanks!

Schinwinkwinsky commented 6 years ago

But when I navigate through tabs and come back to tab that has the IconToolBar, the icons has disappeared. Any solve?