public class FixedWidthImageView
extends AppCompatImageView
| Constructor and Description |
|---|
FixedWidthImageView(android.content.Context context) |
FixedWidthImageView(android.content.Context context,
android.util.AttributeSet attrs) |
FixedWidthImageView(android.content.Context context,
android.util.AttributeSet attrs,
int defStyleAttr) |
| Modifier and Type | Method and Description |
|---|---|
void |
onBitmapFailed(android.graphics.drawable.Drawable errorDrawable) |
void |
onBitmapLoaded(android.graphics.Bitmap bitmap,
PicassoCompat.LoadedFrom from) |
protected void |
onMeasure(int widthMeasureSpec,
int heightMeasureSpec) |
void |
onPrepareLoad(android.graphics.drawable.Drawable placeHolderDrawable) |
void |
showImage(PicassoCompat picasso,
android.net.Uri uri,
zendesk.belvedere.FixedWidthImageView.CalculatedDimensions dimensions) |
void |
showImage(PicassoCompat picasso,
android.net.Uri uri,
long rawImageWidth,
long rawImageHeight,
zendesk.belvedere.FixedWidthImageView.DimensionsCallback dimensionsCallback) |
public FixedWidthImageView(android.content.Context context)
public FixedWidthImageView(android.content.Context context,
android.util.AttributeSet attrs)
public FixedWidthImageView(android.content.Context context,
android.util.AttributeSet attrs,
int defStyleAttr)
public void showImage(PicassoCompat picasso,
android.net.Uri uri,
zendesk.belvedere.FixedWidthImageView.CalculatedDimensions dimensions)
public void showImage(PicassoCompat picasso,
android.net.Uri uri,
long rawImageWidth,
long rawImageHeight,
zendesk.belvedere.FixedWidthImageView.DimensionsCallback dimensionsCallback)
protected void onMeasure(int widthMeasureSpec,
int heightMeasureSpec)
public void onBitmapLoaded(android.graphics.Bitmap bitmap,
PicassoCompat.LoadedFrom from)
public void onBitmapFailed(android.graphics.drawable.Drawable errorDrawable)
public void onPrepareLoad(android.graphics.drawable.Drawable placeHolderDrawable)