Method:
@Override
protected boolean isReadyForPullEnd() {
@SuppressWarnings("deprecation")
float exactContentHeight = FloatMath.floor(mRefreshableView.getContentHeight() * mRefreshableView.getScale());
return mRefreshableView.getScrollY() >= (exactContentHeight - mRefreshableView.getHeight());
}
Output:
Error:(116, 39) error: cannot find symbol method floor(float)
Any one idea to fix this one?
FloatMath utility class is deprecated. Use Math.floor instead.