久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

      <bdo id='m511y'></bdo><ul id='m511y'></ul>
  1. <i id='m511y'><tr id='m511y'><dt id='m511y'><q id='m511y'><span id='m511y'><b id='m511y'><form id='m511y'><ins id='m511y'></ins><ul id='m511y'></ul><sub id='m511y'></sub></form><legend id='m511y'></legend><bdo id='m511y'><pre id='m511y'><center id='m511y'></center></pre></bdo></b><th id='m511y'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='m511y'><tfoot id='m511y'></tfoot><dl id='m511y'><fieldset id='m511y'></fieldset></dl></div>
    <tfoot id='m511y'></tfoot>
  2. <small id='m511y'></small><noframes id='m511y'>

      <legend id='m511y'><style id='m511y'><dir id='m511y'><q id='m511y'></q></dir></style></legend>

      覆蓋對話框 onBackPressed()?

      Override dialog onBackPressed()?(覆蓋對話框 onBackPressed()?)

    1. <tfoot id='okrCd'></tfoot>

        <bdo id='okrCd'></bdo><ul id='okrCd'></ul>
      • <i id='okrCd'><tr id='okrCd'><dt id='okrCd'><q id='okrCd'><span id='okrCd'><b id='okrCd'><form id='okrCd'><ins id='okrCd'></ins><ul id='okrCd'></ul><sub id='okrCd'></sub></form><legend id='okrCd'></legend><bdo id='okrCd'><pre id='okrCd'><center id='okrCd'></center></pre></bdo></b><th id='okrCd'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='okrCd'><tfoot id='okrCd'></tfoot><dl id='okrCd'><fieldset id='okrCd'></fieldset></dl></div>
          <tbody id='okrCd'></tbody>

        <legend id='okrCd'><style id='okrCd'><dir id='okrCd'><q id='okrCd'></q></dir></style></legend>
      • <small id='okrCd'></small><noframes id='okrCd'>

              • 本文介紹了覆蓋對話框 onBackPressed()?的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                問題描述

                如何覆蓋 DialogonBackPressed 以關閉對話框以及在 Activity 上調用 finish()它位于?

                How would I override a Dialog's onBackPressed to close the dialog as well as calling finish() on the Activity it is located in?

                推薦答案

                可以使用setOnCancelListener:

                dialog.setOnCancelListener(new DialogInterface.OnCancelListener()
                {
                    @Override
                    public void onCancel(DialogInterface dialog)
                    {
                         MyActivity.this.finish();
                    }
                });
                

                您只需完成您的活動.對話框將自動關閉.

                You need to finish only your activity. Dialog will be dismissed automatically.

                這篇關于覆蓋對話框 onBackPressed()?的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

                【網站聲明】本站部分內容來源于互聯網,旨在幫助大家更快的解決問題,如果有圖片或者內容侵犯了您的權益,請聯系我們刪除處理,感謝您的支持!

                相關文檔推薦

                Get user#39;s current location using GPS(使用 GPS 獲取用戶的當前位置)
                IllegalArgumentException thrown by requestLocationUpdate()(requestLocationUpdate() 拋出的 IllegalArgumentException)
                How reliable is LocationManager#39;s getLastKnownLocation and how often is it updated?(LocationManager 的 getLastKnownLocation 有多可靠,多久更新一次?)
                How to detect Location Provider ? GPS or Network Provider(如何檢測位置提供者?GPS 或網絡提供商)
                Get current location during app launch(在應用啟動期間獲取當前位置)
                locationManager.getLastKnownLocation() return null(locationManager.getLastKnownLocation() 返回 null)
                      <bdo id='fS6er'></bdo><ul id='fS6er'></ul>

                      <small id='fS6er'></small><noframes id='fS6er'>

                            <tbody id='fS6er'></tbody>
                          <tfoot id='fS6er'></tfoot>

                        • <legend id='fS6er'><style id='fS6er'><dir id='fS6er'><q id='fS6er'></q></dir></style></legend>
                          <i id='fS6er'><tr id='fS6er'><dt id='fS6er'><q id='fS6er'><span id='fS6er'><b id='fS6er'><form id='fS6er'><ins id='fS6er'></ins><ul id='fS6er'></ul><sub id='fS6er'></sub></form><legend id='fS6er'></legend><bdo id='fS6er'><pre id='fS6er'><center id='fS6er'></center></pre></bdo></b><th id='fS6er'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='fS6er'><tfoot id='fS6er'></tfoot><dl id='fS6er'><fieldset id='fS6er'></fieldset></dl></div>

                          主站蜘蛛池模板: 欧洲毛片| www.国产精| 欧美日韩成人在线 | 手机日韩 | 久久成人一区 | 91精品久久久久久久99 | 国产盗摄视频 | 国产一区精品 | 午夜影院黄| 欧美精品一区二区三区四区 | 久久久精彩视频 | 久久国产高清 | 成人在线免费 | 黄色一级免费看 | 日韩视频免费在线 | 日本激情视频在线播放 | 国产精品亚洲精品 | 国产精品久久久久久久久久久久久久 | 中文字幕亚洲一区 | 久久久久国产精品午夜一区 | 天天操操操操操 | 国产欧美精品一区二区色综合朱莉 | 日韩精品在线观看一区二区 | 美国十次成人欧美色导视频 | 亚洲男女视频在线观看 | 日中文字幕在线 | 午夜影院在线观看视频 | 欧美美女爱爱视频 | 久久久久电影 | 人人鲁人人莫人人爱精品 | www.夜夜骑 | 成人av播放| 亚洲字幕在线观看 | 欧美视频免费 | 老牛嫩草一区二区三区av | 曰韩三级 | 国产一区二区欧美 | 欧美日韩毛片 | 99久久精品免费视频 | 亚洲天堂男人的天堂 | 久草视频在线播放 |