public class ImageSourceView
extends ImageView
Constructor and Description |
---|
ImageSourceView(Context context) |
ImageSourceView(Context context,
AttributeSet attrs) |
ImageSourceView(Context context,
AttributeSet attrs,
int defStyleAttr) |
Modifier and Type | Method and Description |
---|---|
protected void |
drawableStateChanged() |
protected void |
onAttachedToWindow() |
protected void |
onDetachedFromWindow() |
protected void |
onSizeChanged(int w,
int h,
int oldw,
int oldh) |
void |
setImageBitmap(Bitmap bm) |
void |
setImageResource(int resId) |
void |
setImageSource(ImageSource source) |
public ImageSourceView(Context context)
public ImageSourceView(Context context, AttributeSet attrs)
public ImageSourceView(Context context, AttributeSet attrs, int defStyleAttr)
@MainThread protected void drawableStateChanged()
protected void onAttachedToWindow()
protected void onDetachedFromWindow()
@MainThread protected void onSizeChanged(int w, int h, int oldw, int oldh)
public void setImageBitmap(Bitmap bm)
public void setImageResource(@DrawableRes int resId)
@MainThread public void setImageSource(ImageSource source)