summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Platform.Android
diff options
context:
space:
mode:
authorE.Z. Hart <hartez@users.noreply.github.com>2016-10-03 09:16:48 (GMT)
committerRui Marinho <me@ruimarinho.net>2016-10-03 09:16:48 (GMT)
commita749558c6710c6e1e0b6bd0ae3cd567c00c5387c (patch)
tree5f1981c083ae69100e6a9d83c34af98cd9d6f611 /Xamarin.Forms.Platform.Android
parentf4f7ba92726c2e72f1a1345a7afa93363ad5eb08 (diff)
downloadxamarin-forms-a749558c6710c6e1e0b6bd0ae3cd567c00c5387c.zip
xamarin-forms-a749558c6710c6e1e0b6bd0ae3cd567c00c5387c.tar.gz
xamarin-forms-a749558c6710c6e1e0b6bd0ae3cd567c00c5387c.tar.bz2
Set UserVisibleHint for new fragment to true (#411)
Diffstat (limited to 'Xamarin.Forms.Platform.Android')
-rw-r--r--Xamarin.Forms.Platform.Android/AppCompat/NavigationPageRenderer.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Xamarin.Forms.Platform.Android/AppCompat/NavigationPageRenderer.cs b/Xamarin.Forms.Platform.Android/AppCompat/NavigationPageRenderer.cs
index 61d0b32..97b2029 100644
--- a/Xamarin.Forms.Platform.Android/AppCompat/NavigationPageRenderer.cs
+++ b/Xamarin.Forms.Platform.Android/AppCompat/NavigationPageRenderer.cs
@@ -645,7 +645,7 @@ namespace Xamarin.Forms.Platform.Android.AppCompat
Device.StartTimer(TimeSpan.FromMilliseconds(TransitionDuration), () =>
{
tcs.TrySetResult(true);
- fragment.UserVisibleHint = !removed;
+ fragment.UserVisibleHint = true;
if (removed)
{
UpdateToolbar();
@@ -659,7 +659,7 @@ namespace Xamarin.Forms.Platform.Android.AppCompat
Device.StartTimer(TimeSpan.FromMilliseconds(1), () =>
{
tcs.TrySetResult(true);
- fragment.UserVisibleHint = !removed;
+ fragment.UserVisibleHint = true;
UpdateToolbar();
return false;