Code Monkey home page Code Monkey logo

coco-accessory's Introduction

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

coco-accessory's People

Contributors

soarcn avatar

Watchers

James Cloos avatar Rehan Kodekar avatar

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.