Giter VIP home page Giter VIP logo

volley's Introduction

Volley: Easy, Fast Networking for Android

Volley is a library that makes networking for Android apps easier and most importantly, faster.

Google I/O 2013 Video

We'll give an overview of how it works, common patterns that work well with it, and a walkthrough of how you can easily load thumbnail images for your ListView from the network in parallel.

Project origin

This repository is a clone of the original source code. Some modifications to the project setup have been made to allow Gradle usage.

How to use?

In order to install the library into your local Maven repository run the following command:

$ ./gradlew clean install

This will build the library named volley-1.0.0.aar which can be found in the local Maven repository. The path for the Maven folder should be:

~/.m2/repository/com/android/volley/1.0.0/

The library can now be referenced in an Android application project in the app/build.gradle as follows:

dependencies {
    compile 'com.android:volley:1.0.+'
}

Make sure to also reference the local Maven repository in your root build.gradle as shown here:

buildscript {
    repositories {
        mavenCentral()
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:0.9.+'
    }
}

allprojects {
    repositories {
        mavenCentral()
        mavenLocal() // When you forget this, the library will not be found
    }
}

JavaDoc and sources

The build script includes tasks to generate JavaDoc and sources archives. The tasks are executed automatically when the library is installed into the local Maven repository. The archives can be found in the same folder as the library itself:

~/.m2/repository/com/android/volley/1.0.0/volley-1.0.0-javadoc.jar
~/.m2/repository/com/android/volley/1.0.0/volley-1.0.0-sources.jar

More about

volley's People

Contributors

johnjohndoe avatar evancharlton avatar vovkab avatar gamblore avatar wavesonics avatar drewis avatar cketcham avatar chadj-at-google avatar colincross avatar potyl avatar jakewharton avatar maxtroy avatar maxzhouus avatar

Watchers

James Cloos avatar  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.