Code Monkey home page Code Monkey logo

Comments (4)

yanzhenjie avatar yanzhenjie commented on July 22, 2024

@excellenttank 一共有三个方案。
一、开放了Binary接口,这个接口你可以自己实现,进度也可以自己通知。

二、NoHttp其实 已经提供了默认的Binary接口实现,如FileBinary、InputStreamBinary、BitmapBinary、ByteArrayBinary、按照自己的开发需求用。这个几个实现都已经提供了默认的进度回调,binary.setUploadHandler

三、上述四个上传实现都是继承与BasicBinary类,BisicBinary类是实现了Binary接口的。如果你不想自己实现Binary接口,那么你可以继承BisicBinary类,来定义自己的文件上传实现。

from nohttp.

tianshaokai avatar tianshaokai commented on July 22, 2024

作者最好可以在demo 中写个多文件上传显示状态的例子

from nohttp.

yanzhenjie avatar yanzhenjie commented on July 22, 2024

@tianshaokai 这个已经写了啊,多文件上传更新ui。再说了进度的接口有了,更下下ui不是炒鸡简单呀!嘿嘿。

from nohttp.

tianshaokai avatar tianshaokai commented on July 22, 2024

@yanzhenjie 嗯嗯开源库只要是傻瓜式的,demo 也是傻瓜式的,我相信会比okhttp 更厉害,更屌

from nohttp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.