Skip to content

Commit

Permalink
1.修改ProgressDialogSubscriber
Browse files Browse the repository at this point in the history
  • Loading branch information
keep2iron committed Jul 3, 2019
1 parent 64c61bc commit bea6318
Showing 1 changed file with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,12 @@ import io.reactivex.disposables.Disposable
* @version 1.0
* @since 2017/12/27 17:46
*/
abstract class ProgressDialogSubscriber<T>(
open class ProgressDialogSubscriber<T>(
activity: Activity,
private val controller: ProgressDialogController
) : AndroidSubscriber<T>() {
private var activityRef = WeakReference<Activity>(activity)
private val controller: ProgressDialogController,
block: AndroidSubscriber<T>.() -> Unit
) : AndroidSubscriber<T>(block) {
private var activityRef = WeakReference(activity)

@CallSuper
override fun onSubscribe(disposable: Disposable) {
Expand Down

0 comments on commit bea6318

Please sign in to comment.