<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    Calvin's Tech Space

    成于堅忍,毀于浮躁

       :: 首頁 :: 聯系 :: 聚合  :: 管理
    I call WebView.clearHistory(), but I am still able to go back after
    doing so. I want to reuse a WebView, but I don't want the back button
    to allow the user to go back further than the current "session" of
    using the WebView. Anybody know what is the best way to handle this? I
    thought for sure that clearHistory() would do it.

    I recently had the same issue. What I found is that you have to clear
    history AFTER the (first) page loads. It appears that the history
    clears everything before the current page so if your browser is at
    page "A", you clear history and navigate to page "B" your history will
    be "A" "B", not just "B", but if you clear history when "B" finishes
    loading you will have only "B".
    In my case I end up using "onPageFinished" method of the
    WebViwClient, but in this case you have to know what your start page
    is and clear the history only after it otherwise you will be clearing
    the history after every page navigated after the first.
    Stefan
    posted on 2010-06-09 13:53 calvin 閱讀(1604) 評論(1)  編輯  收藏 所屬分類: Android

    Feedback

    # re: WebView.clearHistory()問題 2011-12-16 11:24 Gitar
    I get it.Thank you very much!  回復  更多評論
      

    主站蜘蛛池模板: 国产一区二区三区亚洲综合| 亚洲国产av玩弄放荡人妇 | 亚洲人成在线播放网站| 免费一级毛suv好看的国产网站| 免费网站看v片在线香蕉| 亚洲七久久之综合七久久| 天天拍拍天天爽免费视频| 99亚洲精品卡2卡三卡4卡2卡| 国产一级淫片a免费播放口之| 老子影院午夜伦不卡亚洲| 波多野结衣一区二区免费视频| ww4545四虎永久免费地址| 91亚洲国产在人线播放午夜| 亚洲人成免费网站| 久久亚洲精品专区蓝色区| 亚洲av成人综合网| 亚洲香蕉免费有线视频| 亚洲中文字幕无码av| 成在线人永久免费视频播放| 免费激情网站国产高清第一页 | 一个人免费视频观看在线www | 亚洲jjzzjjzz在线播放| 全免费A级毛片免费看网站| 免费在线观看一区| 国产亚洲人成网站观看| 国产高清免费视频| 亚洲欧洲无卡二区视頻| 国产精品亚洲精品日韩已方| 久久青草免费91观看| 自拍偷区亚洲国内自拍| 亚洲精品色婷婷在线影院| 午夜免费福利视频| 亚洲国产成人精品无码区二本| 国产成人亚洲精品影院| 亚洲电影在线免费观看| 黄网站色成年片大免费高清| 亚洲av永久无码精品网站| 成人免费无码大片a毛片软件 | 亚洲精品无码专区久久久| 中文毛片无遮挡高潮免费| 一级毛片免费全部播放|