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

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

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

    Calvin's Tech Space

    成于堅忍,毀于浮躁

       :: 首頁 :: 聯(lián)系 :: 聚合  :: 管理
    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 閱讀(1603) 評論(1)  編輯  收藏 所屬分類: Android

    Feedback

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

    主站蜘蛛池模板: 亚洲精品无码高潮喷水A片软| 亚洲黄色网站视频| 国产AV无码专区亚洲AV蜜芽| 毛片免费观看网址| 亚洲精品第一国产综合野| 国内精品乱码卡1卡2卡3免费| 久久精品亚洲精品国产色婷| 精品无码无人网站免费视频| 久久精品亚洲中文字幕无码麻豆 | 免费人成在线观看网站品爱网日本| 亚洲av日韩av无码av| 成年女人看片免费视频播放器| 亚洲欧美日韩自偷自拍| 亚洲Av无码国产情品久久 | 久热免费在线视频| 91情国产l精品国产亚洲区| 久久久久久精品免费免费自慰| 亚洲伦理中文字幕| 又色又污又黄无遮挡的免费视| 两性色午夜免费视频| 久久精品国产亚洲AV麻豆不卡| 日韩不卡免费视频| 美女黄色免费网站| 久久久久久久久亚洲| 成年在线观看网站免费| 立即播放免费毛片一级| 亚洲国产精彩中文乱码AV| 四虎精品视频在线永久免费观看| 亚洲AV无码资源在线观看| 亚洲中文久久精品无码ww16| 四虎在线成人免费网站| 黄页网址大全免费观看12网站| 情人伊人久久综合亚洲| 成人免费一级毛片在线播放视频| 免费无码专区毛片高潮喷水| 久久亚洲AV成人无码国产| 免费无码又爽又刺激高潮的视频| 成av免费大片黄在线观看| 亚洲色图激情文学| 国产精品亚洲成在人线| 四虎影视www四虎免费|