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

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

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

    Calvin's Tech Space

    成于堅(jiān)忍,毀于浮躁

       :: 首頁(yè) :: 聯(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 閱讀(1604) 評(píng)論(1)  編輯  收藏 所屬分類: Android

    Feedback

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

    主站蜘蛛池模板: 91香蕉国产线在线观看免费| 亚欧日韩毛片在线看免费网站| 亚洲中文无码永久免费| 亚洲一区二区三区写真| 成人免费午夜在线观看| 国内精品99亚洲免费高清| 亚洲男人的天堂在线播放| 精品久久久久久亚洲精品| 色妞www精品视频免费看| 99精品一区二区免费视频| 国产免费怕怕免费视频观看| 国产亚洲综合久久系列| 欧美亚洲国产SUV| 国产麻豆一精品一AV一免费| 日本特黄特色aa大片免费| 亚洲国产精品热久久| 99免费观看视频| 亚洲午夜精品国产电影在线观看| 国产免费区在线观看十分钟| 色婷婷7777免费视频在线观看| 久久亚洲AV永久无码精品| 亚洲高清一区二区三区电影 | 亚洲AV乱码一区二区三区林ゆな| 亚洲AV综合色区无码一二三区 | 亚洲男人av香蕉爽爽爽爽| 亚洲中文字幕久在线| 宅男666在线永久免费观看 | 国产亚洲综合视频| 女人被男人桶得好爽免费视频| 亚洲AV本道一区二区三区四区 | 国产午夜免费福利红片| 久久久受www免费人成| 亚洲人成在线观看| 美女被免费视频网站a国产| 亚洲人成在线播放| 亚洲精品动漫人成3d在线| 2019中文字幕在线电影免费| 亚洲一区二区三区夜色| 免费国产99久久久香蕉| 亚洲第一成人在线| 午夜网站免费版在线观看|