GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing bumptech.github.io — Glide v4 : Samples Glide v4 Fast and efficient image loading for Android - 中文版 - Edit this page
SamplesSample AppsGlide includes a number of sample apps in the samples/ directory that demonstrate how to load images with Glide in a variety of contexts. The sample apps are all built with gradle, so most relevant code will be under sample_app_name/src/main. Sample apps can be built by:
If you want to automatically install and open the sample app you can use:
FlickrThe Flickr app allows users to search for images matching keywords using Flickr’s public API, and then downloads the first few hundred hits and displays them in a couple of different sizes.
GalleryThe Gallery app displays images and video stills from on the device in a horizontally scrolling RecyclerView.
GiphyThe Giphy app downloas metadata for and popular animated GIFs using Giphy’s public API and displays them in a vertical list.
SVGThe SVG sample app demonstrates how you can use Glide’s flexible decoding pipeline to decode custom resource types. The SVG app loads SVG data from resources and over the network, and uses a custom decoder and drawable to display the SVG with Glide.
ImgurThe Imgur sample app retrieves a list of animated and non-animated images from Imgur and displays them in a vertically scrolling list.
Open Source AppsGoogle I/OThe 2014 Google I/O app used Glide to display images in a variety of scenarios. The Google I/O app is available on GitHub. In addition, the I/O team wrote a number of useful blog posts, including one on image loading, which may be useful. For more posts, see their Readme.md. |
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |