Skip to content
This repository has been archived by the owner on Jun 13, 2019. It is now read-only.

soarcn/COCO-Accessory

Repository files navigation

COCO-Accessory

Build Status

This project provides sets of collection of source codes, utilities and snippets for Android developemnt.

There are 4 sub-modules, and you could use each or all of them together base on your real needs.

Please be aware that this project still under development, so classes and interface would be changed at any moment.

Most of classes in this project are from other opensource projects.

Most of classes are compatible in android 2.3+

gradle config

```groovy
compile 'com.cocosw.accessory:connectivity:+@aar' 
compile 'com.cocosw.accessory:views:+@aar' 
compile 'com.cocosw.accessory:utils:+@aar' 
```

Adapter

Connectivity

  • A single class provide an simple way to get/observe mobile phone network connectivity.
  • Example
    NetworkConnectivity.getInstance(context).addNetworkMonitorListener(new NetworkMonitorListener() {
    
        /**
         * connection established
         */
        public void connectionEstablished();

        /**
         * connection lost
         */
        public void connectionLost();

        /**
         * connecting to network
         */
        public void connectionCheckInProgress();
    });

Views

  • This is a collection of android ui components. Some of them are bug fixed ones and are functional enhanced ones.

com.cocosw.accessory.views com.cocosw.accessory.views.adapter com.cocosw.accessory.views.adapterview com.cocosw.accessory.views.complex com.cocosw.accessory.views.drawable com.cocosw.accessory.views.layout com.cocosw.accessory.views.textview com.cocosw.accessory.views.widgets

Utils

  • A collection of android utils not directly related to UI components

About

Bunch of classes, helpers, views I used in daily work

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages