File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
progress/src/main/java/me/jessyan/progressmanager Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -33,12 +33,12 @@ public final class ProgressManager {
3333 private final Map <String , List <ProgressListener >> mResponseListeners = new WeakHashMap <>();
3434 private final Handler mHandler ; //所有监听器在 Handler 中被执行,所以可以保证所有监听器在主线程中被执行
3535 private final Interceptor mInterceptor ;
36- private int mRefreshTime = DEFAULT_REFRESH_TIME ;
36+ private int mRefreshTime = DEFAULT_REFRESH_TIME ; //进度刷新时间(单位ms),避免高频率调用
3737
3838 private static volatile ProgressManager mProgressManager ;
3939
4040 public static final boolean DEPENDENCY_OKHTTP ;
41- public static final int DEFAULT_REFRESH_TIME = 150 ; //回调刷新时间(单位ms),避免高频率调用
41+ public static final int DEFAULT_REFRESH_TIME = 150 ;
4242
4343
4444 static {
You can’t perform that action at this time.
0 commit comments