|
|
@@ -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));
|
|
|
}
|
|
|
|