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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With