<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ù)  更多評論
      

    主站蜘蛛池模板: 爽爽日本在线视频免费| 天天摸夜夜摸成人免费视频| 亚洲人成无码久久电影网站| 国产自国产自愉自愉免费24区 | 日韩免费观看视频| 亚洲欧美日韩综合俺去了| 无码国产精品一区二区免费I6| 亚洲国产日韩在线成人蜜芽 | 成年网站免费入口在线观看| 亚洲成A∨人片天堂网无码| 深夜福利在线视频免费| 亚洲精品无码不卡在线播HE| 免费观看男人吊女人视频| 亚洲AV无码一区二区二三区软件 | 野花香高清视频在线观看免费| 好看的电影网站亚洲一区| 亚洲免费在线视频| 亚洲18在线天美| 四虎永久免费观看| 久久国产精品免费一区| 亚洲天堂男人天堂| 又粗又长又爽又长黄免费视频| 亚洲中文字幕无码爆乳av中文| aaa毛片视频免费观看| 亚洲综合一区二区| 国产高清在线精品免费软件 | 亚洲一区二区成人| 永久黄网站色视频免费观看| 免费观看四虎精品成人| 国产亚洲精品一品区99热| 麻豆最新国产剧情AV原创免费| 午夜在线亚洲男人午在线| 久久精品国产亚洲一区二区| 中文字幕免费在线看线人| 国产精品手机在线亚洲| 亚洲av无码片在线播放| 成人免费无码大片A毛片抽搐| 九九免费精品视频在这里| 免费女人18毛片a级毛片视频| 你懂的在线免费观看| 亚洲一级视频在线观看|