Skip to content

Commit

Permalink
Updated readme
Browse files Browse the repository at this point in the history
Added PendingIntent to mission (or null), so that you can pass a it to your NotificationFactory
  • Loading branch information
Deishelon committed Jan 26, 2019
1 parent 55cbe1c commit c537f16
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Step 2. Add the dependency

```gradle
dependencies{
implementation 'com.github.Deishelon:RxDownload:1.3.0'
implementation 'com.github.Deishelon:RxDownload:1.3.1'
}
```

Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
package zlc.season.rxdownload3.core

import android.app.PendingIntent

open class Mission(var url: String) {
var saveName: String = ""
var savePath: String = ""
var rangeFlag: Boolean? = null
var tag: String = url
var overwrite: Boolean = false
var pendingIntent: PendingIntent? = null

constructor(url: String, saveName: String, savePath: String, overwrite: Boolean = false) : this(url) {
this.saveName = saveName
Expand Down

0 comments on commit c537f16

Please sign in to comment.