Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

TangTangG/DataModule

Open more actions menu

Repository files navigation

DataModule

Android data-module.Contains http,database and cache.


data-module


Introduction

This is a data module based on Android.
Thogh this module,you can operate data(no matter http\db\cache) in same way.
Simple use as fllows:

DataService.obtain().http(HttpApi.USER_TEST,Action.HTTP_GET)
        .exec(new DataCallback() {
            @Override
            public void onResult(int state, Clause clause, Object data) {
                //success result
            }

            @Override
            public void onError(int state, Clause clause) {
                //failed
                String msg = clause.getMsg();
                //You can get error msg by clause.
            }
        });

Plan

Add service pool in next version.

About

Android data-module.Contains http,database and cache.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.