可用于简化 Android 应用的网络操作,让网络请求更便捷高效。该项目是一个 HTTP 库,核心功能在于优化网络请求流程,显著提升 Android 应用的网络访问速度。【此简介由AI生成】
| Files | Last commit | Last update |
|---|---|---|
Bump some build dependencies to enable building with a newer JDK. (#459) This is enough to get Google's JDK11 to build Volley. While newer versions of some dependencies are available, taking these would bring other complexity to the build. | 2 years ago | |
Bump some build dependencies to enable building with a newer JDK. (#459) This is enough to get Google's JDK11 to build Volley. While newer versions of some dependencies are available, taking these would bring other complexity to the build. | 2 years ago | |
Set network tag in CronetHttpStack This requires updating the cronet version | 2 years ago | |
Fix nullability issue in sample code (#447) [ImageLoader.ImageCache.getBitmap](https://github.com/google/volley/blob/master/core/src/main/java/com/android/volley/toolbox/ImageLoader.java#L74) is @Nullable, so the Kotlin code should return Bitmap?, not Bitmap. Otherwise, the code may fail to compile or crash at runtime due to added safety checks, depending on compiler behavior. | 3 years ago | |
Bump some build dependencies to enable building with a newer JDK. (#459) This is enough to get Google's JDK11 to build Volley. While newer versions of some dependencies are available, taking these would bring other complexity to the build. | 2 years ago | |
Refactor Volley into a multi-module project. (#418) This splits the library into three Gradle modules: - core - volley core + toolbox - cronet - CronetHttpStack - testing - common testing code The primary purpose is to split out CronetHttpStack into its own Maven artifact, com.android.volley:volley-cronet, to prevent applications which aren't using it from having to either suppress Proguard/D8 warnings or pull in the unnecessary dependency. The testing module is needed to share TestRequest between unit tests in both core and cronet. It is not published to Maven. This PR also removes support for the build.gradle/rules.gradle split which allowed Gradle projects to depend on Volley by source and specify their own SDK settings. This is no longer worth supporting, and any client that wishes to depend on Volley via Gradle should do so via published Maven artifacts instead. See #412 | 5 years ago | |
gitignore: add local.properties * ignore local.properties as it is specific to local configurations and should not get checked in into version control systems Change-Id: Iff87ebb93c2172636649ba4ddb767e513ad255fe | 11 years ago | |
Apply google-java-format to all code. (#165) Also adds Gradle commands to format the code and verify formatting on all files in the tree. CONTRIBUTING.md has been updated with the steps to format + verify changes, and the format verification has been added to the continuous integration setup (but if it fails, the rest of the build will still be attempted to minimize churn). Fixes #99 | 8 years ago | |
Volley cleanup in preparation for GitHub migration. -Add README.md, LICENSE, and CONTRIBUTING.md documentation -Delete unused proguard configs -Add missing copyright headers Change-Id: Ibb765c69e5bd6497b1e181eb4670c8b0f28596de | 9 years ago | |
Point to GitHub Pages for documentation | 4 years ago | |
Bump some build dependencies to enable building with a newer JDK. (#459) This is enough to get Google's JDK11 to build Volley. While newer versions of some dependencies are available, taking these would bring other complexity to the build. | 2 years ago | |
Bump some build dependencies to enable building with a newer JDK. (#459) This is enough to get Google's JDK11 to build Volley. While newer versions of some dependencies are available, taking these would bring other complexity to the build. | 2 years ago | |
Initial attempt at a Travis CI build for Volley. -Move to more modern build tools and update scripts/code to work -Add gradle wrapper rather than relying on system version | 9 years ago | |
Initial attempt at a Travis CI build for Volley. -Move to more modern build tools and update scripts/code to work -Add gradle wrapper rather than relying on system version | 9 years ago | |
Publish SNAPSHOT builds to OSSRH instead of OJO. (#397) Example build (generated locally): https://oss.sonatype.org/#nexus-search;gav~com.android.volley~volley~~~ See #394 | 5 years ago | |
Fix listing of dependencies in Volley POM files. (#423) We were depending directly on the .aar, which loses the dependency information from the build configuration itself. This caused android.annotations to (correctly) show up as a dependency. Since it is only needed for annotations (like @Nullable) that don't need to be retained at runtime, we can mark this as a compileOnly dependency, matching its former "provided" state, to prevent Volley users from needing it. However, this introduces a compiler warning in the tests, since @RestrictTo has RetentionPolicy.CLASS and is not present at compile time; since we apply -Werror to all compile tasks, this becomes a compiler error. For now, to keep the build as close as possible to the prior state, add the annotations as an implementation dependency to the tests; a proper fix is tracked in #424. The only resulting change to the POM files is that volley-cronet declares a dependency on volley. Note that volley-cronet doesn't declare a dependency on Cronet because there are two plausible choices for how to use Cronet - the version in GmsCore, or the standalone version. There's no great way to codify this dependency choice, so leave it unstated. Fixes #402 | 5 years ago | |
Refactor Volley into a multi-module project. (#418) This splits the library into three Gradle modules: - core - volley core + toolbox - cronet - CronetHttpStack - testing - common testing code The primary purpose is to split out CronetHttpStack into its own Maven artifact, com.android.volley:volley-cronet, to prevent applications which aren't using it from having to either suppress Proguard/D8 warnings or pull in the unnecessary dependency. The testing module is needed to share TestRequest between unit tests in both core and cronet. It is not published to Maven. This PR also removes support for the build.gradle/rules.gradle split which allowed Gradle projects to depend on Volley by source and specify their own SDK settings. This is no longer worth supporting, and any client that wishes to depend on Volley via Gradle should do so via published Maven artifacts instead. See #412 | 5 years ago |
Volley
Volley is an HTTP library that makes networking for Android apps easier and, most importantly, faster.
For more information about Volley and how to use it, visit the documentation page.
Introduction
可用于简化 Android 应用的网络操作,让网络请求更便捷高效。该项目是一个 HTTP 库,核心功能在于优化网络请求流程,显著提升 Android 应用的网络访问速度。【此简介由AI生成】
Customize your domain