diff --git a/docs/html/training/volley/index.jd b/docs/html/training/volley/index.jd index a8c4b84c7c478..d3645d9c89922 100755 --- a/docs/html/training/volley/index.jd +++ b/docs/html/training/volley/index.jd @@ -42,7 +42,7 @@ faster. Volley is available through the open
  • Automatic scheduling of network requests.
  • Multiple concurrent network connections.
  • Transparent disk and memory response caching with standard HTTP -cache coherence.
  • +cache coherence.
  • Support for request prioritization.
  • Cancellation request API. You can cancel a single request, or you can set blocks or scopes of requests to cancel.
  • @@ -66,13 +66,22 @@ alternative like {@link android.app.DownloadManager}.

    AOSP repository at {@code frameworks/volley} and contains the main request dispatch pipeline as well as a set of commonly applicable utilities, available in the Volley "toolbox." The -easiest way to add Volley to your project is to clone the Volley repository and set it as -a library project:

    +easiest way to add Volley to your project is to add the following dependency to your app's +build.gradle file: + +
    +dependencies {
    +    ...
    +    compile 'com.android.volley:volley:1.0.0'
    +}
    +
    + +You can also clone the Volley repository and set it as a library project:

    1. Git clone the repository by typing the following at the command line: -
      +
       git clone https://android.googlesource.com/platform/frameworks/volley