|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.ObjectImageView
com.android.volley.toolbox.NetworkImageView
public class NetworkImageView
Handles fetching an image from a URL as well as the life-cycle of the associated request.
コンストラクタの概要 | |
---|---|
NetworkImageView(Context context)
|
|
NetworkImageView(Context context,
AttributeSet attrs)
|
|
NetworkImageView(Context context,
AttributeSet attrs,
int defStyle)
|
メソッドの概要 | |
---|---|
void |
setDefaultImageResId(int defaultImage)
Sets the default image resource ID to be used for this view until the attempt to load it completes. |
void |
setErrorImageResId(int errorImage)
Sets the error image resource ID to be used for this view in the event that the image requested fails to load. |
void |
setImageUrl(java.lang.String url,
ImageLoader imageLoader)
Sets URL of the image that should be loaded into this view. |
クラス java.lang.Object から継承されたメソッド |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
コンストラクタの詳細 |
---|
public NetworkImageView(Context context)
public NetworkImageView(Context context, AttributeSet attrs)
public NetworkImageView(Context context, AttributeSet attrs, int defStyle)
メソッドの詳細 |
---|
public void setImageUrl(java.lang.String url, ImageLoader imageLoader)
setDefaultImageResId(int)
on the view.
NOTE: If applicable, setDefaultImageResId(int)
and
setErrorImageResId(int)
should be called prior to calling
this function.
url
- The URL that should be loaded into this ImageView.imageLoader
- ImageLoader that will be used to make the request.public void setDefaultImageResId(int defaultImage)
public void setErrorImageResId(int errorImage)
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |