我的应用程序向用户显示进度或AlertDialog是很常见的.如果用户将应用程序放入后台然后稍后返回,我希望仍然显示对话框.有没有办法让
Android处理这个?我希望它不要关闭对话框,或者它是否在活动恢复时自动重新打开它.
@H_301_2@到目前为止它看起来像没有.我没有找到大量关于此的结果(大多数人遇到方向更改的问题,我的应用程序不允许)但很少有人询问进入后台.我已经尝试了DialogFragment和常规Dialog的每个排列,但是当按下主页按钮并从任务管理器打开应用程序时它们都会消失.
@H_301_2@我甚至没有任何代码可以展示,因为它们都处于在线各种示例的测试阶段.我怀疑我必须自己管理这个,通过检查onResume()是否应该显示某些内容.如果是这种情况我可以忍受它,但我想知道肯定.
解决方法
@H_301_2@
The page is not found
@H_301_2@ @H_301_2@
@H_301_2@ @H_301_2@
Nginx error!
The page you are looking for is not found.
Website Administrator
@H_301_2@Something has triggered missing webpage on your
website. This is the default 404 error page for
Nginx that is distributed with
Fedora. It is located
/usr/share/Nginx/html/404.html @H_301_2@You should customize this error page for your own
site or edit the error_page directive in
the Nginx configuration file
/etc/Nginx/Nginx.conf.
website. This is the default 404 error page for
Nginx that is distributed with
Fedora. It is located
/usr/share/Nginx/html/404.html @H_301_2@You should customize this error page for your own
site or edit the error_page directive in
the Nginx configuration file
/etc/Nginx/Nginx.conf.