1 Star 1 Fork 0

StanleyVerne / RxJavaLibrary

Create your Gitee Account
Explore and code with more than 6 million developers,Free private repositories !:)
Sign up
This repository doesn't specify license. Without author's permission, this code is only for learning and cannot be used for other purposes.
Clone or download
Cancel
Notice: Creating folder will generate an empty file .keep, because not support in Git
Loading...
README.md

RxJavaLibrary

网络框架

使用示例

    NetRequestSubscriber<BaseResult> subscriber = new NetRequestSubscriber<>(new NetRequestCallback<BaseResult>() {
        @Override
        public void onStart() {

        }

        @Override
        public void onSuccess(@NonNull BaseResult mResults) {

        }

        @Override
        public void onResultNull() {

        }

        @Override
        public void onError(Throwable throwable) {

        }

        @Override
        public void onCancel() {
            super.onCancel();

        }

        @Override
        public void onFinish() {
            super.onFinish();

        }
    }, this, true, "ssss");
    Observable<BaseResult> observable = RequestServiceUtil.
            createService(ApiEngine.class, PubParameters.URL_INTERFACE_DD)
            .setDevice();
    RequestSender.sendRequest(this, subscriber, observable);

Comments ( 0 )

Sign in for post a comment

About

Cancel

Releases (4)

All

Contributors

All

Activities

load more
can not load any more
1
https://gitee.com/StanleyVerne/RxJavaLibrary.git
git@gitee.com:StanleyVerne/RxJavaLibrary.git
StanleyVerne
RxJavaLibrary
RxJavaLibrary
master

Search

102255 3a0e046c 1850385 102255 7aaa926c 1850385