LASIImageView - 显示进度指示并异步下载图片
来源:互联网 发布:出售淘宝0心店铺 编辑:程序博客网 时间:2024/05/16 15:41
LASIImageView – download image with progress indicator
翻译原网址:http://lukagabric.com/lasiimageview-download-image-with-progress-indicator/#more-797
LASIImageView is a UIImageView subclass that supports asynchronous image download with different progress indicators. It is possible to choose among three different progress indicator styles, with or without percent text.
LASIImageView继承自UIImageView,支持异步下载图片,并在图片上显示下载进度指示条。当然,你可以选择3种不同的指示条显示风格,每种指示条风格都可以显示或者不显示数字百分比。
In order to use it, just add LASIImageView class files to the project and set the instance imageUrl property to download and display the image.
使用很简单,把LASIImageView类拖入到你的工程中,设置好属性imageUrl,然后显示图片。
LASIImageView includes shared appearance settings. Appearance can also be specified for any LASIImageView instance, overriding the global appearance for that object.
LASIImageView包含全局显示的设定。当然呢,你也可以给任意指定的LASIImageView单独设定,用你新设定的值覆盖全局的那个值即可。
ASIHTTPRequest is used for image download. Request settings can be set for LASIImageView instances globally, or per instance, overriding the global settings.
ASIHTTPRequest开源库用来下载图片。网络请求的设定可以用来给LASIImageView设定全局的值,或者给每一个实例对象单独设置(新赋值覆盖全局的值即可)。
On request finished – success or fail blocks are called (LASIImageViewDownloadFinishedBlock or LASIImageViewDownloadFailedBlock).
当网络请求结束后,成功或者失败的block将会被调用。
LASIImageView is hosted on my GitHub
repo: https://github.com/lukagabric/LASIImageView
- LASIImageView - 显示进度指示并异步下载图片
- iOS下载图片并显示进度
- AsyncTask下载网络图片并显示下载进度
- Android中从网上下载一张图片显示进度并显示下载好的图片
- 运用AsyncTask下载图片并显示下载进度,下载完成后显示
- AsyncTask下载图片、显示进度
- 自定义Gallery异步下载并显示网络图片
- 使用异步任务下载图片并显示在UI上
- android异步下载图片并显示水平进度条
- 【IOS学习】http异步文件上传和下载以及进度指示
- NSURLConnection下载文件并显示进度
- NSURLConnection下载文件并显示进度(HEAD)
- NSURLConnection下载文件并显示进度(HEAD)
- AFHTTPRequestOperation 实现下载并显示进度
- Unity下载文件并显示进度
- Unity3d下载大型文件并显示进度
- 使用AsyncTask下载图片并更新进度
- 安卓下载网络图片显示进度
- ie10 兼容性调整之滚动条消失的修正思路 scrollbar|lightbox
- Hibernate源码分析
- ctype.h
- Service与Android系统设计(6)--- Native Service
- Eclipse / 命令行 创建多模块的Maven项目(父模块,子模块)
- LASIImageView - 显示进度指示并异步下载图片
- Java线程池管理及分布式Hadoop调度框架搭建
- busybox 的insmod can't insert operation not permitted 错误解决
- 学习iOS开发的建议:如何从菜鸟到专家
- Linux设备驱动模型之Kobject
- <category>
- <compatible-screens>
- 如何学习Cocoa
- <data>