|
|
@@ -14,7 +14,6 @@ import kr.co.zumo.app.R;
|
|
|
import kr.co.zumo.app.lifeplus.bean.api.MainContentsBean;
|
|
|
import kr.co.zumo.app.lifeplus.view.Event;
|
|
|
import kr.co.zumo.app.lifeplus.view.IEventListener;
|
|
|
-import kr.co.zumo.app.lifeplus.view.custom.Snapper;
|
|
|
|
|
|
/**
|
|
|
* MainContentsCategoryHolder
|
|
|
@@ -65,10 +64,10 @@ public class MainContentsCategoryHolder extends MainContentsHolder {
|
|
|
|
|
|
recyclerView.setLayoutManager(new LinearLayoutManager(context, LinearLayoutManager.HORIZONTAL, false));
|
|
|
|
|
|
- if(recyclerView.getOnFlingListener() == null) {
|
|
|
- Snapper snapper = new Snapper(recyclerView, 1000);
|
|
|
- snapper.attachToRecyclerView(recyclerView);
|
|
|
- }
|
|
|
+// if(recyclerView.getOnFlingListener() == null) {
|
|
|
+// Snapper snapper = new Snapper(recyclerView, 1000);
|
|
|
+// snapper.attachToRecyclerView(recyclerView);
|
|
|
+// }
|
|
|
|
|
|
adapter = new MainCategoryContentsAdapter(context, bean, event -> {
|
|
|
/**
|