{"id":3534,"url":"https://github.com/bumptech/glide","last_synced_at":"2025-05-12T15:14:45.696Z","repository":{"id":9402022,"uuid":"11267509","full_name":"bumptech/glide","owner":"bumptech","description":"An image loading and caching library for Android focused on smooth scrolling","archived":false,"fork":false,"pushed_at":"2025-04-23T19:08:09.000Z","size":97228,"stargazers_count":34858,"open_issues_count":578,"forks_count":6154,"subscribers_count":1037,"default_branch":"master","last_synced_at":"2025-05-03T06:51:26.919Z","etag":null,"topics":["android","disk-cache","gif","glide","imageloader"],"latest_commit_sha":null,"homepage":"https://bumptech.github.io/glide/","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bumptech.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2013-07-08T22:52:33.000Z","updated_at":"2025-05-02T21:44:53.000Z","dependencies_parsed_at":"2023-01-14T12:00:46.012Z","dependency_job_id":"20a9e595-4d36-4108-a6f5-6a342eca9ea0","html_url":"https://github.com/bumptech/glide","commit_stats":{"total_commits":2763,"total_committers":184,"mean_commits":"15.016304347826088","dds":"0.32319942091929066","last_synced_commit":"ca394b1e637f6e33092089eb1bd9ebe4554e78fc"},"previous_names":[],"tags_count":50,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bumptech%2Fglide","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bumptech%2Fglide/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bumptech%2Fglide/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bumptech%2Fglide/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bumptech","download_url":"https://codeload.github.com/bumptech/glide/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252325119,"owners_count":21729804,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["android","disk-cache","gif","glide","imageloader"],"created_at":"2024-01-05T20:16:44.230Z","updated_at":"2025-05-04T11:21:42.954Z","avatar_url":"https://github.com/bumptech.png","language":"Java","readme":"Glide\n=====\n\n[![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.github.bumptech.glide/glide/badge.svg)](https://maven-badges.herokuapp.com/maven-central/com.github.bumptech.glide/glide)\n| [View Glide's documentation][20] | [简体中文文档][22] | [Report an issue with Glide][5]\n\nGlide is a fast and efficient open source media management and image loading framework for Android that wraps media\ndecoding, memory and disk caching, and resource pooling into a simple and easy to use interface.\n\n![](static/glide_logo.png)\n\nGlide supports fetching, decoding, and displaying video stills, images, and animated GIFs. Glide includes a flexible API\nthat allows developers to plug in to almost any network stack. By default Glide uses a custom `HttpUrlConnection` based\nstack, but also includes utility libraries plug in to Google's Volley project or Square's OkHttp library instead.\n\nGlide's primary focus is on making scrolling any kind of a list of images as smooth and fast as possible, but Glide is\nalso effective for almost any case where you need to fetch, resize, and display a remote image.\n\nDownload\n--------\nFor detailed instructions and requirements, see Glide's [download and setup docs page][28].\n\nYou can download a jar from GitHub's [releases page][1].\n\nOr use Gradle:\n\n```gradle\nrepositories {\n  google()\n  mavenCentral()\n}\n\ndependencies {\n  implementation 'com.github.bumptech.glide:glide:4.16.0'\n}\n```\n\nOr Maven:\n\n```xml\n\u003cdependency\u003e\n  \u003cgroupId\u003ecom.github.bumptech.glide\u003c/groupId\u003e\n  \u003cartifactId\u003eglide\u003c/artifactId\u003e\n  \u003cversion\u003e4.16.0\u003c/version\u003e\n\u003c/dependency\u003e\n```\n\nFor info on using the bleeding edge, see the [Snapshots][17] docs page.\n\nR8 / Proguard\n--------\nThe specific rules are [already bundled](library/proguard-rules.txt) into the aar which can be interpreted by R8 automatically\n\nHow do I use Glide?\n-------------------\nCheck out the [documentation][20] for pages on a variety of topics, and see the [javadocs][3].\n\nFor Glide v3, see the [wiki][2].\n\nSimple use cases will look something like this:\n\n```java\n// For a simple view:\n@Override public void onCreate(Bundle savedInstanceState) {\n  ...\n  ImageView imageView = (ImageView) findViewById(R.id.my_image_view);\n\n  Glide.with(this).load(\"https://goo.gl/gEgYUd\").into(imageView);\n}\n\n// For a simple image list:\n@Override public View getView(int position, View recycled, ViewGroup container) {\n  final ImageView myImageView;\n  if (recycled == null) {\n    myImageView = (ImageView) inflater.inflate(R.layout.my_image_view, container, false);\n  } else {\n    myImageView = (ImageView) recycled;\n  }\n\n  String url = myUrls.get(position);\n\n  Glide\n    .with(myFragment)\n    .load(url)\n    .centerCrop()\n    .placeholder(R.drawable.loading_spinner)\n    .into(myImageView);\n\n  return myImageView;\n}\n```\n\nStatus\n------\nVersion 4 is now released and stable. Updates are released periodically with new features and bug fixes.\n\nComments/bugs/questions/pull requests are always welcome! Please read [CONTRIBUTING.md][5] on how to report issues.\n\nCompatibility\n-------------\n\n * **Minimum Android SDK**: Glide v4 requires a minimum API level of 14.\n * **Compile Android SDK**: Glide v4 requires you to compile against API 26 or later.\n\n If you need to support older versions of Android, consider staying on [Glide v3][14], which works on API 10, but is not actively maintained.\n\n * **OkHttp 3.x**: There is an optional dependency available called `okhttp3-integration`, see the [docs page][23].\n * **Volley**: There is an optional dependency available called `volley-integration`, see the [docs page][24].\n * **Round Pictures**: `CircleImageView`/`CircularImageView`/`RoundedImageView` are known to have [issues][18] with `TransitionDrawable` (`.crossFade()` with `.thumbnail()` or `.placeholder()`) and animated GIFs, use a [`BitmapTransformation`][19] (`.circleCrop()` will be available in v4) or `.dontAnimate()` to fix the issue.\n * **Huge Images** (maps, comic strips): Glide can load huge images by downsampling them, but does not support zooming and panning `ImageView`s as they require special resource optimizations (such as tiling) to work without `OutOfMemoryError`s.\n\nBuild\n-----\nBuilding Glide with gradle is fairly straight forward:\n\n```shell\ngit clone https://github.com/bumptech/glide.git\ncd glide\n./gradlew jar\n```\n\n**Note**: Make sure your *Android SDK* has the *Android Support Repository* installed, and that your `$ANDROID_HOME` environment\nvariable is pointing at the SDK or add a `local.properties` file in the root project with a `sdk.dir=...` line.\n\nSamples\n-------\nFollow the steps in the [Build](#build) section to set up the project and then:\n\n```shell\n./gradlew :samples:flickr:run\n./gradlew :samples:giphy:run\n./gradlew :samples:svg:run\n./gradlew :samples:contacturi:run\n```\nYou may also find precompiled APKs on the [releases page][1].\n\nDevelopment\n-----------\nFollow the steps in the [Build](#build) section to setup the project and then edit the files however you wish.\n[Android Studio][26] cleanly imports both Glide's source and tests and is the recommended way to work with Glide.\n\nTo open the project in Android Studio:\n\n1. Go to *File* menu or the *Welcome Screen*\n2. Click on *Open...*\n3. Navigate to Glide's root directory.\n4. Select `setting.gradle`\n\nFor more details, see the [Contributing docs page][27].\n\nGetting Help\n------------\nTo report a specific problem or feature request, [open a new issue on Github][5]. For questions, suggestions, or\nanything else, email [Glide's discussion group][6], or join our IRC channel: [irc.freenode.net#glide-library][13].\n\nContributing\n------------\nBefore submitting pull requests, contributors must sign Google's [individual contributor license agreement][7].\n\nThanks\n------\n* The **Android team** and **Jake Wharton** for the [disk cache implementation][8] Glide's disk cache is based on.\n* **Dave Smith** for the [GIF decoder gist][9] Glide's GIF decoder is based on.\n* **Chris Banes** for his [gradle-mvn-push][10] script.\n* **Corey Hall** for Glide's [amazing logo][11].\n* Everyone who has contributed code and reported issues!\n\nAuthor\n------\nSam Judd - @sjudd on GitHub, @samajudd on Twitter\n\nLicense\n-------\nBSD, part MIT and Apache 2.0. See the [LICENSE][16] file for details.\n\nDisclaimer\n---------\nThis is not an official Google product.\n\n[1]: https://github.com/bumptech/glide/releases\n[2]: https://github.com/bumptech/glide/wiki\n[3]: https://bumptech.github.io/glide/ref/javadocs.html\n[4]: https://www.jetbrains.com/idea/download/\n[5]: https://github.com/bumptech/glide/blob/master/CONTRIBUTING.md\n[6]: https://groups.google.com/forum/#!forum/glidelibrary\n[7]: https://developers.google.com/open-source/cla/individual\n[8]: https://github.com/JakeWharton/DiskLruCache\n[9]: https://gist.github.com/devunwired/4479231\n[10]: https://github.com/chrisbanes/gradle-mvn-push\n[11]: static/glide_logo.png\n[12]: https://github.com/bumptech/glide/wiki/Integration-Libraries\n[13]: http://webchat.freenode.net/?channels=glide-library\n[14]: https://github.com/bumptech/glide/tree/3.0\n[15]: https://github.com/bumptech/glide/tree/master\n[16]: https://github.com/bumptech/glide/blob/master/LICENSE\n[17]: http://bumptech.github.io/glide/dev/snapshots.html\n[18]: https://github.com/bumptech/glide/issues?q=is%3Aissue+CircleImageView+OR+CircularImageView+OR+RoundedImageView\n[19]: https://github.com/wasabeef/glide-transformations\n[20]: https://bumptech.github.io/glide/\n[22]: https://muyangmin.github.io/glide-docs-cn/\n[23]: http://bumptech.github.io/glide/int/okhttp3.html\n[24]: http://bumptech.github.io/glide/int/volley.html\n[25]: http://bumptech.github.io/glide/doc/download-setup.html#proguard\n[26]: https://developer.android.com/studio/index.html\n[27]: http://bumptech.github.io/glide/dev/contributing.html\n[28]: http://bumptech.github.io/glide/doc/download-setup.html\n","funding_links":[],"categories":["Android_Java","Image Loader","Technology","Libraries","Java","Image loaders","Development setup","图片","Android 应用","Libs","Index","Using Glide Bitmap Pool in your application",":shamrock:  **Categories**","Cross-Platform Mobile Guide for Native iOS \u0026 Android Developers","Android Kotlin Project Showcase","库"],"sub_categories":["GUI","Libraries","Loading Images","网络服务_其他","\u003cA NAME=\"Image_Loading\"\u003e\u003c/A\u003eImage Loading","Image Loader","Credits and references",":books: Libraries","Android","[](https://github.com/JStumpp/awesome-android/blob/master/readme.md#loading-images)图片加载"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbumptech%2Fglide","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbumptech%2Fglide","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbumptech%2Fglide/lists"}