|
|
@@ -8,7 +8,6 @@ import android.widget.LinearLayout;
|
|
|
import android.widget.TextView;
|
|
|
|
|
|
import kr.co.zumo.app.R;
|
|
|
-import kr.co.zumo.app.lifeplus.bean.api.EventDetailBean;
|
|
|
import kr.co.zumo.app.lifeplus.util.ResourceUtil;
|
|
|
|
|
|
/**
|
|
|
@@ -32,8 +31,8 @@ class EventQuestionNoticeView extends RecyclerView.ViewHolder {
|
|
|
layoutContainer = itemView.findViewById(R.id.layout_container);
|
|
|
}
|
|
|
|
|
|
- public void draw(EventDetailBean bean) {
|
|
|
- String[] contentsArray = bean.getNotice().split("\n");
|
|
|
+ public void draw(String notice) {
|
|
|
+ String[] contentsArray = notice.split("\n");
|
|
|
LayoutInflater inflater = (LayoutInflater) itemView.getContext().getSystemService(Context.LAYOUT_INFLATER_SERVICE);
|
|
|
|
|
|
for (int i = 0; i < contentsArray.length; ++i) {
|