This is an unofficial mirror (with some minor bugfix, see Changelog for details.) for android volley library, the source code will synchronize periodically with the official volley repository.
Volley is already published to Maven Central.
<dependency>
<groupId>com.mcxiaoke.volley</groupId>
<artifactId>library</artifactId>
<version>{latest-version}</version>
</dependency>
compile 'com.mcxiaoke.volley:library:1.0.18'
add this to repositories section in build.gradle
repositories {
maven { url 'https://oss.sonatype.org/content/repositories/snapshots' }
}
add this to dependencies section in build.gradle
compile 'com.mcxiaoke.volley:library:1.0.18-SNAPSHOT'
-
1.0.18 2015年07月28日
- merge upstream, process response bodies only when present
- tweak getCacheKey(), using method and original url, fix #67 #78
- add RedirectError, wrong exception for http 301 and 302, fix #51
- make NetworkResponse Serializable, fix #53
- create NetworkError using IOException, not using null response
-
1.0.17 2015年07月13日
- merge upstream, stop logging slow requests outside of debug logs
- merge pr #64, fix leaking the last request object
-
1.0.16 2015年05月18日
- fix duplicate retry, change DEFAULT_MAX_RETRIES to 0
- merge pr, fix NegativeArraySizeException
- merge upstream, Use a BufferedOutputStream to read and write cache
-
1.0.15 2015年03月18日
- add two missing constructors for JsonArrayRequest and JsonObjectRequest
- add unique identifier for Request
-
1.0.14 2015年03月17日
- add more constructors for JsonArrayRequest and JsonObjectRequest
- update and fix gradle build, using new build.gradle
-
1.0.13 2015年03月16日
- merge pr, added constructor to JSONArrayRequest
-
1.0.12 2015年03月12日
- merge upstream, fix ImageLoader.getCacheKey()
- merge upstream, Fix broken DiskBasedCache
- merge upstream, Modify header parser to handle must-revalidate.
-
1.0.11 2015年03月03日
- merge upstream, Add a RequestFinishedListener to RequestQueue.
- merge upstream, Change the default character encoding for JSON responses to UTF-8
-
1.0.10 2014年12月30日
- merge upstream, Use the view size and scale type to restrict NIV requests.
- merge pr, Add a getImageURL method to NetworkImageView
- merge pr, Add the options of setting DiskBasedCache sizes in Volley.java
-
1.0.9 2014年11月26日
- merge upstream, Fix deprecation warnings (now errors in 0.14.4) w/ gradle.
-
1.0.8 2014年11月07日
- merge upstream, Metric for network time and getBackoffMultiplier()
-
1.0.7 2014年10月13日
- merge upstream, Add locale to HttpHeaderParserTest.rfc1123Date(long millis)
- merge upstream, Copy cache header for 304 response
-
1.0.6 2014年09月10日
- merge pr, fixed bug where Disk cache misses for redirects
- merge upstream, Fix crash/OOM in DiskBasedCache
- merge upstream, allow use of custom ImageRequests in ImageLoader
-
1.0.5 2014年06月18日
- merge upstream, Fixes bug in PATCH method. Sets the method before setting the body.
- update gradle and build tools version, fix build
-
1.0.4 2014年05月04日
- merge upstream, Guard against NullPointerException currently occurring in Volley when a Request is given a url whose host is null.
-
1.0.3 2014年04月01日
- merge upstream, ImageLoader: setError after null check
-
1.0.2 2014年02月28日
- merge upstream, Use the view size to restrict NIV requests.
- merge upstream, Fix generic type parameter for RequestQueue.add(Request)
- merge pr, added support for handling 301 and 302 http redirects
- using standalone deploy gradle build file and script
-
1.0.1 2014年02月13日
- add gradle build support, add readme, release using gradle
-
1.0.0 2014年01月03日
- create volley mirror at github, release first version
This project is just a mirror of volley, if you have found any bugs or need some features, please create an issue at AOSP Issue Tracker.
Copyright (C) 2014 Xiaoke Zhang
Copyright (C) 2011 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.