-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[auto-task] add task complete action
- Loading branch information
1 parent
156fcb8
commit 769c4c8
Showing
2 changed files
with
69 additions
and
14 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
package com.stockholm.common.task; | ||
|
||
import android.os.Parcel; | ||
import android.os.Parcelable; | ||
|
||
public class TaskBean implements Parcelable { | ||
|
||
|
||
/** | ||
* taskId : f66qEE | ||
* packageName : com.stockholm.news | ||
*/ | ||
|
||
private String taskId; | ||
private String packageName; | ||
|
||
public String getTaskId() { | ||
return taskId; | ||
} | ||
|
||
public void setTaskId(String taskId) { | ||
this.taskId = taskId; | ||
} | ||
|
||
public String getPackageName() { | ||
return packageName; | ||
} | ||
|
||
public void setPackageName(String packageName) { | ||
this.packageName = packageName; | ||
} | ||
|
||
|
||
@Override | ||
public int describeContents() { | ||
return 0; | ||
} | ||
|
||
@Override | ||
public void writeToParcel(Parcel dest, int flags) { | ||
dest.writeString(this.taskId); | ||
dest.writeString(this.packageName); | ||
} | ||
|
||
public TaskBean() { | ||
} | ||
|
||
protected TaskBean(Parcel in) { | ||
this.taskId = in.readString(); | ||
this.packageName = in.readString(); | ||
} | ||
|
||
public static final Creator<TaskBean> CREATOR = new Creator<TaskBean>() { | ||
@Override | ||
public TaskBean createFromParcel(Parcel source) { | ||
return new TaskBean(source); | ||
} | ||
|
||
@Override | ||
public TaskBean[] newArray(int size) { | ||
return new TaskBean[size]; | ||
} | ||
}; | ||
} |