mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-26 12:23:58 +01:00
Drop Parcelable interface, not needed
This commit is contained in:
parent
a9b431cde0
commit
d894268056
1 changed files with 1 additions and 21 deletions
|
|
@ -20,7 +20,7 @@ import java.util.Date;
|
|||
* Time: 3:37 PM
|
||||
* To change this template use File | Settings | File Templates.
|
||||
*/
|
||||
public class Category /*implements Parcelable */{
|
||||
public class Category {
|
||||
private ContentProviderClient client;
|
||||
private Uri contentUri;
|
||||
|
||||
|
|
@ -28,26 +28,6 @@ public class Category /*implements Parcelable */{
|
|||
private Date lastUsed;
|
||||
private int timesUsed;
|
||||
|
||||
/*
|
||||
// Do we need parcelable stuff?
|
||||
@Override
|
||||
public void writeToParcel(Parcel parcel, int flags) {
|
||||
parcel.writeString(name);
|
||||
parcel.writeSerializable(lastUsed);
|
||||
parcel.writeInt(timesUsed);
|
||||
}
|
||||
|
||||
public Category(Parcel in) {
|
||||
name = in.readString();
|
||||
lastUsed = (Date)in.readSerializable();
|
||||
timesUsed = in.readInt();
|
||||
}
|
||||
|
||||
public int describeContents() {
|
||||
return 0;
|
||||
}
|
||||
*/
|
||||
|
||||
// Getters/setters
|
||||
public String getName() {
|
||||
return name;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue