Shell lifecycle (#6527)
authorShane Neuville <shane94@hotmail.com>
Wed, 3 Jul 2019 23:53:45 +0000 (17:53 -0600)
committerSamantha Houts <samhouts@users.noreply.github.com>
Wed, 3 Jul 2019 23:53:45 +0000 (16:53 -0700)
commit490be76aabc1ef9fd9d03959a521d882bec6ef22
tree16a9becacd9177f3b106c7aff39516eebb6a83cc
parent6572230dcc321952f0030c7a01c2575496cdb468
Shell lifecycle (#6527)

* shell appearing and disappearing events

* life cycle UI tests and fixes

* - fix appearing on shell content to only fire when page gets created
- fix navigated to only fire after shell content is appearing

* OnNavigatedOnlyFiresOnce
fixes #6486
Xamarin.Forms.Core.UnitTests/ShellLifeCycleTests.cs [new file with mode: 0644]
Xamarin.Forms.Core.UnitTests/ShellTests.cs
Xamarin.Forms.Core.UnitTests/Xamarin.Forms.Core.UnitTests.csproj
Xamarin.Forms.Core/Shell/BaseShellItem.cs
Xamarin.Forms.Core/Shell/Shell.cs
Xamarin.Forms.Core/Shell/ShellContent.cs
Xamarin.Forms.Core/Shell/ShellExtensions.cs [new file with mode: 0644]
Xamarin.Forms.Core/Shell/ShellItem.cs
Xamarin.Forms.Core/Shell/ShellSection.cs
Xamarin.Forms.Platform.Android/Renderers/ShellSectionRenderer.cs