All Projects → Alluretears → Glidedemo

Alluretears / Glidedemo

A demo describes how to load images by using Glide

Programming Languages

java
68154 projects - #9 most used programming language

Labels

Projects that are alternatives of or similar to Glidedemo

Mvvmsmart
基于谷歌最新AAC架构,MVVM设计模式的一套快速开发库,整合ViewModel+Lifecycles+Navigation+DataBinding+LiveData+Okhttp+Retrofit+RxJava+Glide等主流模块,满足日常开发需求。使用该框架可以快速开发高质量、易维护的Android应用。 项目组会持续维护,请放心使用.欢迎Start并Fork交流.
Stars: ✭ 382 (+1719.05%)
Mutual labels:  glide
Glidebitmappool
Glide Bitmap Pool is a memory management library for reusing the bitmap memory
Stars: ✭ 544 (+2490.48%)
Mutual labels:  glide
Youtubedownloader
Android App for searching for videos on Youtube by keywords using YouTube Data API and download videos from YouTube in different formats.
Stars: ✭ 25 (+19.05%)
Mutual labels:  glide
Wanandroid
🏄 基于Architecture Components dependencies (Lifecycles,LiveData,ViewModel,Room)构建的WanAndroid开源项目。 你值得拥有的MVVM快速开发框架:https://github.com/jenly1314/MVVMFrame
Stars: ✭ 410 (+1852.38%)
Mutual labels:  glide
Glidewebpdecoder
A Glide WebpDecoder Intergration Library for decoding and displaying webp images
Stars: ✭ 484 (+2204.76%)
Mutual labels:  glide
React Native Fast Image
🚩 FastImage, performant React Native image component.
Stars: ✭ 6,500 (+30852.38%)
Mutual labels:  glide
Androidproject
Android 技术中台,但愿人长久,搬砖不再有
Stars: ✭ 4,398 (+20842.86%)
Mutual labels:  glide
Awesome Third Library Source Analysis
📖 Deep understanding of popular open source library source code (optimizing...)
Stars: ✭ 866 (+4023.81%)
Mutual labels:  glide
Bailan
基于retorfit2,Rxjva2,Okhttp3,Glide,Dagger2,GreenDAO等框架采用MVP架构的仿应用商店App
Stars: ✭ 542 (+2480.95%)
Mutual labels:  glide
Gallery
图片缩放以及相册的实现
Stars: ✭ 24 (+14.29%)
Mutual labels:  glide
Devring
安卓基础开发库,包含各常用模块,让开发简单点。
Stars: ✭ 414 (+1871.43%)
Mutual labels:  glide
Scrollgalleryview
🌉 Android image gallery with bottom scroll view
Stars: ✭ 481 (+2190.48%)
Mutual labels:  glide
Easygank
💊 The project build framework based on the Rx series and MVP pattern.
Stars: ✭ 750 (+3471.43%)
Mutual labels:  glide
Materialimageloading
Material image loading implementation
Stars: ✭ 396 (+1785.71%)
Mutual labels:  glide
Zsbpads
Material design、MVC、OKHttp、Glide、greendao 设计的一款面试题题库的app完整项目
Stars: ✭ 25 (+19.05%)
Mutual labels:  glide
Picassopalette
Android Lollipop Palette is now easy to use with Picasso !
Stars: ✭ 366 (+1642.86%)
Mutual labels:  glide
Android Zblibrary
🔥Android MVP 快速开发框架,做国内 「示例最全面」「注释最详细」「使用最简单」「代码最严谨」的 Android 开源 UI 框架。 🔥An Android MVP Framework with many demos, detailed documents, simple usages and strict codes.
Stars: ✭ 5,000 (+23709.52%)
Mutual labels:  glide
Afmall
A pure shopping App based on Kotlin + ARouter + MVP + RxJava2 + Retrofit + Dagger2 + 七牛云 + Glide
Stars: ✭ 20 (-4.76%)
Mutual labels:  glide
Kotlin Life
App界的一股清流 音视频vr应有尽有 完全按照Material design规范设计的App (written with java and Kotlin)
Stars: ✭ 864 (+4014.29%)
Mutual labels:  glide
Mvvmhabit
goldze: 本人喜欢尝试新的技术,以后发现有好用的东西,我将会在企业项目中实战,没有问题了就会把它引入到MVVMHabit中,一直维护着这套框架,谢谢各位朋友的支持。如果觉得这套框架不错的话,麻烦点个 star,你的支持则是我前进的动力!
Stars: ✭ 6,789 (+32228.57%)
Mutual labels:  glide

GlideDemo

A demo describes how to load images by using Glide

一个展示了如何使用Glide加载图片的示例

最简单的加载方式

ImageView targetImageView = (ImageView) findViewById(R.id.imageView);
String internetUrl = "http://i.imgur.com/idojSYm.jpg";
Glide.with(context)
     .load(internetUrl)
     .into(targetImageView);

.with(Context context),此处的context就是你熟悉的context,没啥不一样的。就是有一点,里面可以是fragment。

.load(String imageUrl),你要加载的图片地址,当然也可以是uri或者file,亦或是R.drawable.xxxx。

.into(ImageView targetImageView),你要加载的Imageview控件,当然也可以一个view。

从不同的数据源加载图片

.load(String string) string可以为一个文件路径、uri或者url

.load(Uri uri) uri类型

.load(File file) 文件

.load(Integer resourceId) 资源Id,R.drawable.xxx或者R.mipmap.xxx

.load(byte[] model) byte[]类型

.load(T model) 自定义类型

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].