Template 10 hamburger menu detail page disappears after resume

荒凉一梦 提交于 2019-12-13 06:59:51

问题


Start app [Press home button]

press "all apps" on home screen and the icon for my app

now i only see the hamburger icon. this is my suspend and resume functions.


回答1:


Resolved by the Template10 team. dg2k. All is fine. Just change ExistingContent.Exclude to ExistingContent.Include for the following line in public override UIElement CreateRootElement(IActivatedEventArgs e) (App.xaml.cs).

public override UIElement CreateRootElement(IActivatedEventArgs e)
{
    ...

    var navService = NavigationServiceFactory(BackButton.Attach, ExistingContent.Include);

    ...
}


来源:https://stackoverflow.com/questions/41961375/template-10-hamburger-menu-detail-page-disappears-after-resume

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!