SCROLL_AXIS_NONE cannot be resolved or is not a field
dhruvbansal3 opened this issue · comments
raster commented
in file AutoHideButton.java i am facing this error in
public void onScrollStateChanged(AbsListView absListView, int scrollState) {
switch (scrollState) {
case AbsListView.SCROLL_AXIS_NONE:
floatHiding = false;
floatShowing = false;
ViewPropertyAnimator.animate(view).translationY(0).setDuration(300);
break;
}
if (onScrollListener != null)
onScrollListener.onScrollStateChanged(absListView, scrollState);
}
I am using ecllipse and minSdkVersion = 9 and targetSdk is 5.0.1
Can you please look into this ?
Thanks
Josh Friend commented
AbsListView.SCROLL_AXIS_NONE
was added in API 21. The minSdkVersion
for this library is 8, and compileSdkVersion
is 19 which is a problem. This was added in #242, but apparently it wasn't compiled before being accepted.