<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 閱讀(1603) 評論(1)  編輯  收藏 所屬分類: Android

    Feedback

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

    主站蜘蛛池模板: 欧洲精品免费一区二区三区| 国产成人免费网站| 亚洲一级片免费看| 美女羞羞视频免费网站| 又黄又大又爽免费视频| 在线观看亚洲专区| 亚洲精品无码专区久久同性男| 男男gvh肉在线观看免费| 日本免费人成黄页在线观看视频| 亚洲国产精品成人综合色在线| 又大又黄又粗又爽的免费视频| 青青免费在线视频| 亚洲色婷婷六月亚洲婷婷6月| 日韩精品无码免费专区午夜不卡| 亚洲男人都懂得羞羞网站| 亚洲成人免费在线| 亚洲中文字幕久久精品无码VA| 手机看片久久国产免费| h视频在线免费观看| 亚洲AV无码精品无码麻豆| av大片在线无码免费| 麻豆亚洲AV成人无码久久精品 | 亚洲五月午夜免费在线视频| 毛片基地看看成人免费| 亚洲成色999久久网站| 2021久久精品免费观看| 亚洲成av人片在线天堂无| 亚洲成av人片不卡无码久久| 永久在线观看免费视频| 亚洲喷奶水中文字幕电影| 国产男女猛烈无遮档免费视频网站 | 亚洲日韩国产一区二区三区| 久爱免费观看在线网站| 久久久久亚洲国产| 久久久久国产成人精品亚洲午夜| 十八禁无码免费网站| 鲁死你资源站亚洲av| 亚洲AV人无码综合在线观看| 四虎成人免费观看在线网址| a视频在线免费观看| 亚洲一线产品二线产品|