1105075896@qq.com 8 years ago
parent afc3af5225
commit 55df8fa7f4

@ -9,8 +9,8 @@ android {
applicationId "com.monke.monkeybook"
minSdkVersion 17
targetSdkVersion 25
versionCode 6
versionName "1.2.1"
versionCode 7
versionName "1.2.2"
manifestPlaceholders = [UMENG_CHANNEL_VALUE: "debug"]
}

@ -191,14 +191,14 @@ public class BookInfoBean implements Parcelable,Cloneable{
@Override
protected Object clone() throws CloneNotSupportedException {
BookInfoBean bookInfoBean = (BookInfoBean) super.clone();
bookInfoBean.name = new String(name);
bookInfoBean.tag = new String(tag);
bookInfoBean.noteUrl = new String(noteUrl);
bookInfoBean.chapterUrl = new String(chapterUrl);
bookInfoBean.coverUrl = new String(coverUrl);
bookInfoBean.author = new String(author);
bookInfoBean.introduce = new String(introduce);
bookInfoBean.origin = new String(origin);
bookInfoBean.name = name;
bookInfoBean.tag = tag;
bookInfoBean.noteUrl = noteUrl;
bookInfoBean.chapterUrl = chapterUrl;
bookInfoBean.coverUrl = coverUrl;
bookInfoBean.author = author;
bookInfoBean.introduce = introduce;
bookInfoBean.origin = origin;
if(chapterlist!=null){
List<ChapterListBean> newList = new ArrayList<>();
Iterator<ChapterListBean> iterator = chapterlist.iterator();

@ -136,8 +136,8 @@ public class BookShelfBean implements Parcelable,Cloneable{
@Override
public Object clone() throws CloneNotSupportedException {
BookShelfBean bookShelfBean = (BookShelfBean) super.clone();
bookShelfBean.noteUrl = new String(noteUrl);
bookShelfBean.tag = new String(tag);
bookShelfBean.noteUrl = noteUrl;
bookShelfBean.tag = tag;
bookShelfBean.bookInfoBean = (BookInfoBean) bookInfoBean.clone();
return bookShelfBean;
}

@ -137,11 +137,11 @@ public class ChapterListBean implements Parcelable,Cloneable{
@Override
protected Object clone() throws CloneNotSupportedException {
ChapterListBean chapterListBean = (ChapterListBean) super.clone();
chapterListBean.noteUrl = new String(noteUrl);
chapterListBean.durChapterUrl = new String(durChapterUrl);
chapterListBean.durChapterName = new String(durChapterName);
chapterListBean.tag = new String(tag);
chapterListBean.hasCache = new Boolean(hasCache);
chapterListBean.noteUrl = noteUrl;
chapterListBean.durChapterUrl = durChapterUrl;
chapterListBean.durChapterName = durChapterName;
chapterListBean.tag = tag;
chapterListBean.hasCache = hasCache;
chapterListBean.bookContentBean = new BookContentBean();
return chapterListBean;
}

Loading…
Cancel
Save