android6.0 PullToRefreshWebView中的FloatMath.floor()不能用了怎么替换
protected boolean isReadyForPullEnd() {
float exactContentHeight = FloatMath.floor(mRefreshableView.getContentHeight() * mRefreshableView.getScale());
return mRefreshableView.getScrollY() >= (exactContentHeight - mRefreshableView.getHeight());
}
其中floor要报错怎么替换啊