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

ActionBar Home Button Visibility: When to set

$
0
0

I'm going crazy.

I try to hide the home button on Android with Xamarin.Forms (should be build in). On iOS it wasn't a problem with a custom renderer. This doesn't work with Android. Not find any event, where to set home button attributes. So I created a DependencyService for doing this. When I call the method for hideing the home button with a button on the page, than it works perfect. The home button is hidden. But where to call this automatically? If I call it in OnAppearing of the page, the values are overwritten by Xamarin.Forms. I couldn't find any other place to call the functions. Also the custom renderer for NavigationPage hasn't a good event for this. So I could hide the home button but only by hand in a button event.

Any help is appreciated.


Viewing all articles
Browse latest Browse all 58056

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>