|
@@ -2,7 +2,6 @@ package com.miekir.network.widget.observe.sticky;
|
|
|
|
|
|
|
|
import android.content.Context;
|
|
import android.content.Context;
|
|
|
|
|
|
|
|
-import com.miekir.network.R;
|
|
|
|
|
import com.miekir.network.widget.CustomProgressDialog;
|
|
import com.miekir.network.widget.CustomProgressDialog;
|
|
|
|
|
|
|
|
import io.reactivex.annotations.NonNull;
|
|
import io.reactivex.annotations.NonNull;
|
|
@@ -24,7 +23,7 @@ public abstract class ProgressNetStickyObserver<T> extends NetStickyObserver<T>
|
|
|
private String mText;
|
|
private String mText;
|
|
|
|
|
|
|
|
public ProgressNetStickyObserver(Context context) {
|
|
public ProgressNetStickyObserver(Context context) {
|
|
|
- this(context, context.getString(R.string.network_loading));
|
|
|
|
|
|
|
+ this(context, "");
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
public ProgressNetStickyObserver(Context context, String text) {
|
|
public ProgressNetStickyObserver(Context context, String text) {
|