This repository has been archived by the owner on Sep 30, 2021. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 933
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
- Loading branch information
Kosh
committed
Jun 11, 2017
1 parent
b345bf7
commit bed9a48
Showing
6 changed files
with
506 additions
and
104 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
package com.fastaccess.data.dao; | ||
|
||
import android.os.Parcel; | ||
import android.os.Parcelable; | ||
|
||
import lombok.Getter; | ||
import lombok.Setter; | ||
|
||
/** | ||
* Created by Kosh on 11 Jun 2017, 7:13 PM | ||
*/ | ||
|
||
@Getter @Setter public class WikiModel implements Parcelable { | ||
public String pageName; | ||
public String title; | ||
public String summary; | ||
public String action; | ||
public String sha; | ||
|
||
public String htmlUrl; | ||
|
||
public WikiModel() {} | ||
|
||
@Override public int describeContents() { return 0; } | ||
|
||
@Override public void writeToParcel(Parcel dest, int flags) { | ||
dest.writeString(this.pageName); | ||
dest.writeString(this.title); | ||
dest.writeString(this.summary); | ||
dest.writeString(this.action); | ||
dest.writeString(this.sha); | ||
dest.writeString(this.htmlUrl); | ||
} | ||
|
||
protected WikiModel(Parcel in) { | ||
this.pageName = in.readString(); | ||
this.title = in.readString(); | ||
this.summary = in.readString(); | ||
this.action = in.readString(); | ||
this.sha = in.readString(); | ||
this.htmlUrl = in.readString(); | ||
} | ||
|
||
public static final Creator<WikiModel> CREATOR = new Creator<WikiModel>() { | ||
@Override public WikiModel createFromParcel(Parcel source) {return new WikiModel(source);} | ||
|
||
@Override public WikiModel[] newArray(int size) {return new WikiModel[size];} | ||
}; | ||
} |
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.