AndBase开发框架  1.5.8r3
 全部  命名空间 文件 函数 变量 枚举值 
Public 成员函数 | Protected 成员函数 | Private 成员函数 | Private 属性 | 所有成员列表
com.ab.view.sample.AbNetworkImageView类 参考
类 com.ab.view.sample.AbNetworkImageView 继承关系图:

Public 成员函数

 AbNetworkImageView (Context context)
 
 AbNetworkImageView (Context context, AttributeSet attrs)
 
 AbNetworkImageView (Context context, AttributeSet attrs, int defStyle)
 
void setImageUrl (String url, AbImageDownloader abImageDownloader)
 

Protected 成员函数

void onLayout (boolean changed, int left, int top, int right, int bottom)
 
void onDetachedFromWindow ()
 
void drawableStateChanged ()
 

Private 成员函数

void loadImageIfNecessary (final boolean isInLayoutPass)
 

Private 属性

String mUrl
 
AbImageDownloader mAbImageDownloader = null
 

详细描述

© 2012 amsoft.cn 名称:AbNetworkImageView.java 描述:根据url下载图片的网络ImageView

作者
还如一梦中
版本
v1.0
日期
:2013-11-12 上午10:09:55

构造及析构函数说明

com.ab.view.sample.AbNetworkImageView.AbNetworkImageView ( Context  context)
inline

Instantiates a new ab network image view.

参数
contextthe context
com.ab.view.sample.AbNetworkImageView.AbNetworkImageView ( Context  context,
AttributeSet  attrs 
)
inline

Instantiates a new ab network image view.

参数
contextthe context
attrsthe attrs
com.ab.view.sample.AbNetworkImageView.AbNetworkImageView ( Context  context,
AttributeSet  attrs,
int  defStyle 
)
inline

Instantiates a new ab network image view.

参数
contextthe context
attrsthe attrs
defStylethe def style

成员函数说明

void com.ab.view.sample.AbNetworkImageView.drawableStateChanged ( )
inlineprotected

描述:TODO.

版本
v1.0
参见
android.widget.ImageView::drawableStateChanged()
作者
: amsoft.cn
日期
:2013-11-12 下午3:12:06
void com.ab.view.sample.AbNetworkImageView.loadImageIfNecessary ( final boolean  isInLayoutPass)
inlineprivate

描述:如果未加载就加载.

参数
isInLayoutPassthe is in layout pass
void com.ab.view.sample.AbNetworkImageView.onDetachedFromWindow ( )
inlineprotected

描述:TODO.

版本
v1.0
参见
android.view.View::onDetachedFromWindow()
作者
: amsoft.cn
日期
:2013-11-12 下午3:12:06
void com.ab.view.sample.AbNetworkImageView.onLayout ( boolean  changed,
int  left,
int  top,
int  right,
int  bottom 
)
inlineprotected

描述:TODO.

版本
v1.0
参数
changedthe changed
leftthe left
topthe top
rightthe right
bottomthe bottom
参见
android.view.View::onLayout(boolean, int, int, int, int)
作者
: amsoft.cn
日期
:2013-11-12 下午3:12:06
void com.ab.view.sample.AbNetworkImageView.setImageUrl ( String  url,
AbImageDownloader  abImageDownloader 
)
inline

描述:设置图片的URL.

参数
urlthe url
abImageDownloaderthe ab image downloader

类成员变量说明

AbImageDownloader com.ab.view.sample.AbNetworkImageView.mAbImageDownloader = null
private

图片下载器.

String com.ab.view.sample.AbNetworkImageView.mUrl
private

图片的url.


该类的文档由以下文件生成: