FitCenter
Scales the image uniformly (maintaining the image's aspect ratio) so that one of the dimensions of the image will be equal to the given dimension and the other will be less than the given dimension.
Functions
Link copied to clipboard
fun transform( context: Context, resource: Resource<Bitmap>, outWidth: Int, outHeight: Int): Resource<Bitmap>
Content copied to clipboard
abstract fun transform( context: Context, resource: Resource<T>, outWidth: Int, outHeight: Int): Resource<T>
Content copied to clipboard
Transforms the given resource and returns the transformed resource.
Link copied to clipboard
Adds all uniquely identifying information to the given digest.