Browse Source

[이벤트][Bug] 선택형 클래스 이름 변경

hyodong.min 6 years ago
parent
commit
2e280205e8

+ 6 - 6
app/src/main/java/kr/co/zumo/app/lifeplus/view/screen/event/recommend/EventSelectRecommendTagAdapter.java

@@ -14,7 +14,7 @@ import kr.co.zumo.app.lifeplus.bean.api.LifeplusContentsBean;
 import kr.co.zumo.app.lifeplus.view.IEventListener;
 
 /**
- * EventSelectRecommendTagAdapter
+ * EventRecommendTagAdapter
  * <pre>
  * </pre>
  *
@@ -23,14 +23,14 @@ import kr.co.zumo.app.lifeplus.view.IEventListener;
  * @history 하세미   [2019-01-10]   [최초 작성]
  * @since 2019-01-10
  */
-public class EventSelectRecommendTagAdapter extends RecyclerView.Adapter<EventSelectRecommendViewHolder> {
+public class EventRecommendTagAdapter extends RecyclerView.Adapter<EventRecommendViewHolder> {
 
   private Context context;
   private List<? extends LifeplusContentsBean> beans;
   private IEventListener listener;
   private LayoutInflater inflater;
 
-  public EventSelectRecommendTagAdapter(Context context, List<? extends LifeplusContentsBean> beans, IEventListener listener) {
+  public EventRecommendTagAdapter(Context context, List<? extends LifeplusContentsBean> beans, IEventListener listener) {
     this.context = context;
     this.beans = beans;
     this.listener = listener;
@@ -39,13 +39,13 @@ public class EventSelectRecommendTagAdapter extends RecyclerView.Adapter<EventSe
 
   @NonNull
   @Override
-  public EventSelectRecommendViewHolder onCreateViewHolder(@NonNull ViewGroup parent, int viewType) {
+  public EventRecommendViewHolder onCreateViewHolder(@NonNull ViewGroup parent, int viewType) {
     View view = inflater.inflate(R.layout.event_select_recommend_tag_item_view, parent, false);
-    return new EventSelectRecommendViewHolder(view);
+    return new EventRecommendViewHolder(view);
   }
 
   @Override
-  public void onBindViewHolder(@NonNull EventSelectRecommendViewHolder holder, int position) {
+  public void onBindViewHolder(@NonNull EventRecommendViewHolder holder, int position) {
     holder.init(listener, beans.get(position));
   }
 

+ 2 - 2
app/src/main/java/kr/co/zumo/app/lifeplus/view/screen/event/recommend/EventRecommendTagFragment.java

@@ -52,7 +52,7 @@ public class EventRecommendTagFragment extends FragmentBase<EventRecommendPresen
   private ConstraintLayout layoutNothing;
   private LayoutInflater inflater;
   private HorizontalScrollView scrollTag;
-  private EventSelectRecommendTagAdapter adapter;
+  private EventRecommendTagAdapter adapter;
 
 
   @Override
@@ -166,7 +166,7 @@ public class EventRecommendTagFragment extends FragmentBase<EventRecommendPresen
   @Override
   public void drawContents(List<? extends LifeplusContentsBean> beans) {
     if (null == adapter) {
-      adapter = new EventSelectRecommendTagAdapter(getContext(), beans, event -> presenter.onEvent(event));
+      adapter = new EventRecommendTagAdapter(getContext(), beans, event -> presenter.onEvent(event));
       recyclerViewEventList.setAdapter(adapter);
     }
     else {

+ 3 - 3
app/src/main/java/kr/co/zumo/app/lifeplus/view/screen/event/recommend/EventSelectRecommendViewHolder.java

@@ -16,7 +16,7 @@ import kr.co.zumo.app.lifeplus.view.Event;
 import kr.co.zumo.app.lifeplus.view.IEventListener;
 
 /**
- * EventSelectRecommendViewHolder
+ * EventRecommendViewHolder
  * <pre>
  * </pre>
  *
@@ -25,7 +25,7 @@ import kr.co.zumo.app.lifeplus.view.IEventListener;
  * @history 하세미   [2019-01-10]   [최초 작성]
  * @since 2019-01-10
  */
-public class EventSelectRecommendViewHolder extends RecyclerView.ViewHolder {
+public class EventRecommendViewHolder extends RecyclerView.ViewHolder {
 
   private ImageView imageViewContents;
   private TextView textViewContents;
@@ -33,7 +33,7 @@ public class EventSelectRecommendViewHolder extends RecyclerView.ViewHolder {
   private CheckBox checkBoxBookmark;
 
 
-  public EventSelectRecommendViewHolder(View itemView) {
+  public EventRecommendViewHolder(View itemView) {
     super(itemView);
     imageViewContents = itemView.findViewById(R.id.image_view_book_mark);
     textViewContents = itemView.findViewById(R.id.text_view_book_mark_title);