|
|
@@ -13,7 +13,6 @@ import android.support.v7.widget.PagerSnapHelper;
|
|
|
import android.support.v7.widget.RecyclerView;
|
|
|
import android.support.v7.widget.SnapHelper;
|
|
|
import android.util.DisplayMetrics;
|
|
|
-import android.util.Log;
|
|
|
import android.view.LayoutInflater;
|
|
|
import android.view.MotionEvent;
|
|
|
import android.view.View;
|
|
|
@@ -77,13 +76,10 @@ public class ContentsFragment extends FragmentBase<ContentsPresenter> implements
|
|
|
if (null != layoutManager && layoutManager.findFirstVisibleItemPosition() == adapter.getItemCount() - 1) {
|
|
|
if (null != direction && direction.equals(TouchEventWithDirection.DIRECTION_LEFT) && motionEvent.getAction() == MotionEvent.ACTION_UP) {
|
|
|
presenter.onEvent(new Event.Builder(Event.LAST).build());
|
|
|
- Log.e("APP# ContentsFragment | onInterceptTouchEvent", "|" + "들어옴");
|
|
|
direction = null;
|
|
|
}
|
|
|
String currentDirection = touchEventWithDirection.getDirection(motionEvent);
|
|
|
direction = currentDirection;
|
|
|
- Log.e("APP# ContentsFragment | onInterceptTouchEvent", "|" + direction);
|
|
|
-
|
|
|
}
|
|
|
return false;
|
|
|
}
|