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

Using App Compat/App Compat theme breaks Navigation.RemovePage on Android

$
0
0

Issue:
I am using App Compat and the Theme.AppCompat.NoActionBar theme in my Xamarin.Forms Android project. I have a button that I want to go back to a certain page, so I am using Navigation.RemovePage to remove all pages except the page I want to go back to and the current page, and then I am using Navigation.PopAsync() to go back. This works normally on Android, but once I start using App Compat it just goes to a blank page that is whatever color I set as my windowBackground color. Anyone know how to fix this or if it is a bug?

Example Project:
https://drive.google.com/file/d/0B68aZqcn2sxXNG1FVl9ubzJvM2M/view?usp=sharing


Viewing all articles
Browse latest Browse all 77050

Trending Articles



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