|
|
@@ -1,6 +1,11 @@
|
|
|
package kr.co.zumo.app.lifeplus.view.screen.event;
|
|
|
|
|
|
import android.view.View;
|
|
|
+import android.widget.ImageView;
|
|
|
+import android.widget.TextView;
|
|
|
+
|
|
|
+import kr.co.zumo.app.R;
|
|
|
+import kr.co.zumo.app.lifeplus.view.IEventListener;
|
|
|
|
|
|
/**
|
|
|
* EventParticipationTitleViewHolder
|
|
|
@@ -13,7 +18,25 @@ import android.view.View;
|
|
|
* @since 2019-01-09
|
|
|
*/
|
|
|
public class EventParticipationTitleViewHolder extends EventParticipationView {
|
|
|
+
|
|
|
+ private ImageView imageViewBackground;
|
|
|
+ private TextView textViewTitle;
|
|
|
+ private TextView textViewSubTitle;
|
|
|
+ private TextView textViewDetail;
|
|
|
+
|
|
|
public EventParticipationTitleViewHolder(View itemView) {
|
|
|
super(itemView);
|
|
|
+ imageViewBackground = itemView.findViewById(R.id.image_view_background);
|
|
|
+ textViewTitle = itemView.findViewById(R.id.text_view_title);
|
|
|
+ textViewSubTitle = itemView.findViewById(R.id.text_view_sub_title);
|
|
|
+ textViewDetail = itemView.findViewById(R.id.text_view_detail);
|
|
|
+ }
|
|
|
+
|
|
|
+ @Override
|
|
|
+ public void init(IEventListener listener) {
|
|
|
+ imageViewBackground.setImageDrawable(itemView.getResources().getDrawable(R.drawable.banner_bg_1));
|
|
|
+ textViewTitle.setText("앱 후기 남기고 \n1,000코인 득템하자!");
|
|
|
+ textViewSubTitle.setText("2018.07.15 ~ 2018.07.22");
|
|
|
+ textViewDetail.setText("Lifeplus에게 하고 싶었던 이야기나 \n만족스러웠던 부분을 스토어 리뷰로 남겨주세요!\n추첨을 통해 푸짐한 경품을 드립니다.");
|
|
|
}
|
|
|
}
|