|
|
@@ -94,7 +94,6 @@ public class MainCategorySnapper extends RecyclerView.OnFlingListener {
|
|
|
if (adapter == null) {
|
|
|
return false;
|
|
|
}
|
|
|
- // fixme ------
|
|
|
int minFlingVelocity = 0; //mRecyclerView.getMinFlingVelocity();
|
|
|
return (Math.abs(velocityY) > minFlingVelocity || Math.abs(velocityX) > minFlingVelocity)
|
|
|
&& snapFromFling(layoutManager, velocityX, velocityY);
|
|
|
@@ -490,7 +489,6 @@ public class MainCategorySnapper extends RecyclerView.OnFlingListener {
|
|
|
Math.abs(distances[0]) > Math.abs(distances[1]) ? distances[0] : distances[1];
|
|
|
// return (int) Math.round(distance / distancePerChild);
|
|
|
|
|
|
- // fixme ------
|
|
|
int min = 0;
|
|
|
// 속도가 minVelocity 보다 크면 기본 1칸 이동
|
|
|
if (Math.abs(velocityX) > minVelocity || Math.abs(velocityY) > minVelocity) {
|