Commit 7d0db4f6 by ydl

首页文章冥想动态剔除完成

parent ed2f53bc
......@@ -23,7 +23,6 @@ import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.RelativeLayout;
import android.widget.TextView;
import android.widget.Toast;
import com.google.gson.internal.LinkedTreeMap;
import com.ydl.ydl_image.module.GlideApp;
......@@ -35,7 +34,7 @@ import com.ydl.ydlcommon.view.dialog.ListDialog;
import com.ydl.ydlcommon.view.widgets.BorderCircleImageView;
import com.ydl.ydlcommon.view.widgets.MyNestedScrollView;
import com.yidianling.common.tools.ToastUtil;
import com.yidianling.dynamic.DynamicConstants;
import com.yidianling.dynamic.bean.DynamicConstants;
import com.yidianling.dynamic.R;
import com.yidianling.dynamic.common.browsePictures.BrowsePicturesActivity;
import com.yidianling.dynamic.common.net.DynamicApiUtils;
......@@ -44,7 +43,7 @@ import com.yidianling.dynamic.event.BlackEvent;
import com.yidianling.dynamic.event.LoginStateEvent;
import com.yidianling.dynamic.model.Command;
import com.yidianling.dynamic.model.MemberInfoBean;
import com.yidianling.dynamic.model.RecommendTrendImage;
import com.ydl.ydlcommon.ui.ParcelableImage;
import com.yidianling.dynamic.router.DynamicIn;
import com.yidianling.dynamic.trendList.TrendListInFragment;
import com.yidianling.user.api.event.UserLoginEvent;
......@@ -372,8 +371,8 @@ public class MembersActivity extends BaseActivity implements View.OnClickListene
Intent intent = new Intent();
intent.putExtra("browse_type", "member");
Bundle bd = new Bundle();
List<RecommendTrendImage> images = new ArrayList<RecommendTrendImage>();
RecommendTrendImage image = new RecommendTrendImage(head);
List<ParcelableImage> images = new ArrayList<ParcelableImage>();
ParcelableImage image = new ParcelableImage(head);
images.add(image);
bd.putParcelableArrayList("allTrendImages", (ArrayList<? extends Parcelable>) images);
intent.putExtra("allTrendImages_bd", bd);
......
......@@ -8,7 +8,7 @@ import com.ydl.ydlcommon.data.http.BaseResponse;
import com.ydl.ydlcommon.mvp.base.SimplePresenter;
import com.ydl.ydlcommon.utils.UserInfoCache;
import com.yidianling.common.tools.LogUtil;
import com.yidianling.dynamic.DynamicConstants;
import com.yidianling.dynamic.bean.DynamicConstants;
import com.yidianling.dynamic.common.net.DynamicApiUtils;
import com.yidianling.dynamic.model.CommentBean;
import com.yidianling.dynamic.model.ExpertBuild;
......
package com.yidianling.dynamic.model;
package com.ydl.ydlcommon.ui;
import android.os.Parcel;
import android.os.Parcelable;
/**
* 动态中的图片
* Created by xiongyu on 2017/3/14.
*/
public class RecommendTrendImage implements Parcelable {
public class ParcelableImage implements Parcelable{
private String image_url;
public RecommendTrendImage() {
public ParcelableImage() {
}
public RecommendTrendImage(String image_url) {
public ParcelableImage(String image_url) {
this.image_url = image_url;
}
protected RecommendTrendImage(Parcel in) {
protected ParcelableImage(Parcel in) {
image_url = in.readString();
}
public static final Creator<RecommendTrendImage> CREATOR = new Creator<RecommendTrendImage>() {
public static final Creator<ParcelableImage> CREATOR = new Creator<ParcelableImage>() {
@Override
public RecommendTrendImage createFromParcel(Parcel in) {
RecommendTrendImage recommendTrendImage=new RecommendTrendImage();
public ParcelableImage createFromParcel(Parcel in) {
ParcelableImage recommendTrendImage=new ParcelableImage();
recommendTrendImage.image_url=in.readString();
return recommendTrendImage;
}
@Override
public RecommendTrendImage[] newArray(int size) {
return new RecommendTrendImage[size];
public ParcelableImage[] newArray(int size) {
return new ParcelableImage[size];
}
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment