Progressmanager

⏳ Listen the progress of downloading and uploading in Okhttp, compatible Retrofit and Glide (一行代码即可监听 App 中所有网络链接的上传以及下载进度, 包括 Glide 的图片加载进度).
Alternatives To Progressmanager
Project NameStarsDownloadsRepos Using ThisPackages Using ThisMost Recent CommitTotal ReleasesLatest ReleaseOpen IssuesLicenseLanguage
Progressmanager2,531
a year ago11apache-2.0Java
⏳ Listen the progress of downloading and uploading in Okhttp, compatible Retrofit and Glide (一行代码即可监听 App 中所有网络链接的上传以及下载进度, 包括 Glide 的图片加载进度).
Coreprogress490
6 years ago2Java
OkHttp upload and download progress support
Okhttps442
a month ago12apache-2.0Java
如艺术一般优雅,像 1、2、3 一样简单,前后端通用,轻量却强大的 HTTP 客户端(同时支持 WebSocket 与 Stomp 协议)
Trojan364
3 years ago25apache-2.0Java
Trojan is an efficient mobile terminal lightweight log SDK
Rx Mvp342
3 years ago3Java
RxJava2+Retrofit2+RxLifecycle2+OkHttp3 封装RHttp 使用MVP模式构建项目
Rxuploader70
6 years ago2May 30, 20174apache-2.0Java
Uploader for Android using RxJava
Retrofitimageupload28
7 years agoapache-2.0Java
Image Upload using Retrofit
Androidhttp23
5 years ago1Java
一个整合OkHttp 、Retrofit 、Volley 、RxJava、Novate多种开源网络框架的项目,对网络请求框架和方法进行了高度的封装和集成,让网络请求更加简洁、简单,只需要一行代码就完成。 本项目主要根据 GET 、POST 、UPLOAD 、DOWNLOAD 四个方面进行整合,集成了数据请求、数据解析、文件上传、文件下载、图片展示等方法。重载多样化参数的构造方法,大约有近 100 个左右的常用方法。 每个方法都封装了需要参数,根据方法名结合自身需要传输的参数即可了解需要使用的方法,只需要一行代码进行调用和实现,重写逻辑处理代码即可。
Glint22
3 years agoJava
Glint is an Http standard protocol framework based on OkHttp for Android. It supports four functions: interface request, file download, file upload and WebSocket.
Uploadanddownload20
7 years agoJava
An upload and download library based on retrofit2 and okhttp3.
Alternatives To Progressmanager
Select To Compare


Alternative Project Comparisons
Readme

ProgressManager

Jcenter Build Status Android Arsenal API License Author QQ-Group

Listen the progress of downloading and uploading in Okhttp (compatible Retrofit and Glide).

中文说明

Overview

gif

Introduction

ProgressManager a line of code to listen App all the links and upload the progress of the network, including Glide picture loading progress, to achieve the principle of similar EventBus, you can be in anywhere in App, the number of listeners to Url address as an identifier, registered to the framework, when this Url address haves to download or upload the action, the framework will take the initiative to call All listeners registered with this Url address are synchronized to multiple modules.

Feature

  • Easy to use, just a line of code to listen progress.
  • Multi-platform support, support Okhttp , Retrofit , Glide ,Use Okhttp native Api , there is no compatibility problem.
  • Low coupling, the actual request and the progress of the receiver does not exist directly or indirectly, that can be anywhere in App to receive progress information.
  • Low intrusion, use this framework you do not need to change the code before uploading or downloading, ie using or not using this framework does not affect the original code.
  • Multi-end synchronization, the same data source upload or download progress can specify a number of different receivers, less to use EventBus achieve multiple port synchronization update progress.
  • Support multi-file upload.
  • Support URL redirection.
  • Automatic management of the listener, less to manually cancel the trouble of the listener.
  • The default run in the main line layer, less to switch the thread of trouble.
  • Lightweight framework, does not contain any three-party library, very small size.

Download

 implementation 'me.jessyan:progressmanager:1.5.0'

Usage

Step 1

 // When building OkHttpClient, the OkHttpClient.Builder() is passed to the with() method to initialize the configuration
 OkHttpClient = ProgressManager.getInstance().with(new OkHttpClient.Builder())
                .build();

Step 2

 // Glide load
 ProgressManager.getInstance().addResponseListener(IMAGE_URL, getGlideListener());


 // Okhttp/Retofit download
 ProgressManager.getInstance().addResponseListener(DOWNLOAD_URL, getDownloadListener());


 // Okhttp/Retofit upload
 ProgressManager.getInstance().addRequestListener(UPLOAD_URL, getUploadListener());

ProGuard

 -keep class me.jessyan.progressmanager.** { *; }
 -keep interface me.jessyan.progressmanager.** { *; }

About Me

License

 Copyright 2017, jessyan

   Licensed under the Apache License, Version 2.0 (the "License");
   you may not use this file except in compliance with the License.
   You may obtain a copy of the License at

       http://www.apache.org/licenses/LICENSE-2.0

   Unless required by applicable law or agreed to in writing, software
   distributed under the License is distributed on an "AS IS" BASIS,
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   See the License for the specific language governing permissions and
   limitations under the License.
Popular Okhttp Projects
Popular Upload Projects
Popular Networking Categories
Related Searches

Get A Weekly Email With Trending Projects For These Categories
No Spam. Unsubscribe easily at any time.
Java
Upload
Arm
Progress
Okhttp
Event Bus
Mvparms