Browse Source

[메인][Common] 콘텐츠 상세내 함께 본 콘텐츠 페이지 dot indicator 추가

Hasemi 7 years ago
parent
commit
de6e101ef4

+ 1 - 1
app/src/main/java/kr/co/zumo/app/lifeplus/view/custom/category/banner/MainBannerViewItemDotIndicator.java

@@ -27,7 +27,7 @@ public class MainBannerViewItemDotIndicator extends RecyclerView.ItemDecoration
   /**
    * Height of the space the indicator takes up at the bottom of the view.
    */
-  private final int mIndicatorHeight = (int) (DP * 16);
+  private final int mIndicatorHeight = (int) (DP * 16 );
 
   /**
    * Indicator stroke width.

+ 2 - 0
app/src/main/java/kr/co/zumo/app/lifeplus/view/screen/contents/ContentsDetailWithShownViewHolder.java

@@ -11,6 +11,7 @@ import kr.co.zumo.app.lifeplus.util.ResourceUtil;
 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;
+import kr.co.zumo.app.lifeplus.view.custom.category.banner.MainBannerViewItemDotIndicator;
 
 /**
  * ContentsDetailWithShownViewHolder
@@ -81,5 +82,6 @@ public class ContentsDetailWithShownViewHolder extends ContentsDetailView {
 
       }
     });
+    recyclerViewWithShownContents.addItemDecoration(new MainBannerViewItemDotIndicator());
   }
 }