This repository has been archived by the owner on Sep 13, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 92
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adjust book detail UI and update activity horizontal margin
- Loading branch information
zchu
committed
Sep 20, 2017
1 parent
56b14ce
commit d843435
Showing
26 changed files
with
493 additions
and
113 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
46 changes: 46 additions & 0 deletions
46
app/src/main/java/com/youshibi/app/data/bean/BookDetail.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
package com.youshibi.app.data.bean; | ||
|
||
import com.google.gson.annotations.SerializedName; | ||
|
||
/** | ||
* author : zchu | ||
* date : 2017/9/20 | ||
* desc : | ||
*/ | ||
|
||
public class BookDetail { | ||
|
||
private Book book; | ||
|
||
@SerializedName("chapter_count") | ||
private int chapterCount; | ||
|
||
@SerializedName("last_chapter") | ||
private LatestChapter latestChapter; | ||
|
||
public Book getBook() { | ||
return book; | ||
} | ||
|
||
public void setBook(Book book) { | ||
this.book = book; | ||
} | ||
|
||
public int getChapterCount() { | ||
return chapterCount; | ||
} | ||
|
||
public void setChapterCount(int chapterCount) { | ||
this.chapterCount = chapterCount; | ||
} | ||
|
||
public LatestChapter getLatestChapter() { | ||
return latestChapter; | ||
} | ||
|
||
public void setLatestChapter(LatestChapter latestChapter) { | ||
this.latestChapter = latestChapter; | ||
} | ||
|
||
|
||
} |
63 changes: 63 additions & 0 deletions
63
app/src/main/java/com/youshibi/app/data/bean/LatestChapter.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
package com.youshibi.app.data.bean; | ||
|
||
import com.google.gson.annotations.SerializedName; | ||
|
||
/** | ||
* author : zchu | ||
* date : 2017/9/20 | ||
* desc : | ||
*/ | ||
|
||
public class LatestChapter { | ||
|
||
/** | ||
* chapter_id : d6771dd9-05da-4aa6-9344-0017ee8623cf | ||
* chapter_index : 3127 | ||
* chapter_name : 第3119章 岂不是又纠缠不清了? | ||
* create_time : 2017-04-02T10:51:45.367 | ||
*/ | ||
|
||
@SerializedName("chapter_id") | ||
private String chapterId; | ||
|
||
@SerializedName("chapter_index") | ||
private int chapterIndex; | ||
|
||
@SerializedName("chapter_name") | ||
private String chapterName; | ||
|
||
@SerializedName("create_time") | ||
private String createTime; | ||
|
||
public String getChapterId() { | ||
return chapterId; | ||
} | ||
|
||
public void setChapterId(String chapterId) { | ||
this.chapterId = chapterId; | ||
} | ||
|
||
public int getChapterIndex() { | ||
return chapterIndex; | ||
} | ||
|
||
public void setChapterIndex(int chapterIndex) { | ||
this.chapterIndex = chapterIndex; | ||
} | ||
|
||
public String getChapterName() { | ||
return chapterName; | ||
} | ||
|
||
public void setChapterName(String chapterName) { | ||
this.chapterName = chapterName; | ||
} | ||
|
||
public String getCreateTime() { | ||
return createTime; | ||
} | ||
|
||
public void setCreateTime(String createTime) { | ||
this.createTime = createTime; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.