xamarin.forms - Xamarin Tab page not showing the icon for cross platform -


i creating tabbed page in xamarin using :

class uitabbedpages : tabbedpage {     public uitabbedpages()     {         var landingpage = new firstpage();         landingpage.icon = new fileimagesource() { file = fontawesome.farocket };         landingpage.title = "firstpage";          var location = new 2ndpage();         location.icon = fontawesome.fabars;         location.title = "location"          this.children.add(landingpage);         this.children.add(location);     } } 

i used 2 different things show icons these both not working.


Comments

Popular posts from this blog

Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12:test (default-test) on project.Error occurred in starting fork -

windows - Debug iNetMgr.exe unhandle exception System.Management.Automation.CmdletInvocationException -

configurationsection - activeMq-5.13.3 setup configurations for wildfly 10.0.0 -