public static interface NetworkImageView.ImageURLBuilder
| Modifier and Type | Method and Description |
|---|---|
String |
buildUrl(String url,
int width,
int height,
android.widget.ImageView.ScaleType scaleType,
android.content.Context context)
Builds a image url for the specified View sizes.
|
String buildUrl(String url, int width, int height, android.widget.ImageView.ScaleType scaleType, android.content.Context context)
url - Original image url.width - Width of the ImageView. 0 if it is WRAP_CONTENT.height - Height of the ImageView. 0 if it is WRAP_CONTENT.scaleType - ScaleType of the ImageView.context - Context.Copyright © 2015. All rights reserved.