ITeye博客

webview

共 1 篇文章

Android webview listview 判断到底

判断webview滑动到了底部 @Override protected void onScrollChanged(int l, int t, int oldl, int oldt) { int height = (int) Math.floor(this.getContentHeight() * this.getScale()); int webViewHeight = this.getMeasuredHeight(); if(this.getScrollY() + webViewHeight >= height){ Log.i("THE END", "reached"); } super.…

2014-02-26 13:35 · android · listview · webview