Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

结合RxJava发请求,监听文件上传进度,偶现回调进度局部错乱问题 #407

Closed
liujingxing opened this issue Sep 16, 2022 · 0 comments

Comments

@liujingxing
Copy link
Owner

RxHttp.postForm("...")
    .addFile("file", File("/.."))
    .upload(AndroidSchedulers.mainThread()) {
        Log.v("tag", "uploadVideo>>${it.progress}") 
    }
    .asResponse<String>()
    .subscribe()

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant