You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Issue details / Repro steps / Use case background:
Current RequestOptions differentiate between one and multiple transformations. Why? I see that internally the transformations are handled by a MultiTransformation if multiple transformations are used, but this could be totally hidden from the user I think. Additional, currently a unnecessary MultiTransformation object is created if only one transformation is passed to the transforms function
Suggestion
Why not change the API to look like following (combine transform and transforms):
Glide Version: 4.5
Integration libraries: -
Device/Android Version: LL
Issue details / Repro steps / Use case background:
Current
RequestOptions
differentiate between one and multiple transformations. Why? I see that internally the transformations are handled by aMultiTransformation
if multiple transformations are used, but this could be totally hidden from the user I think. Additional, currently a unnecessaryMultiTransformation
object is created if only one transformation is passed to thetransforms
functionSuggestion
Why not change the API to look like following (combine
transform
andtransforms
):Usage before
This way as a user using an array (potentially empty) I could change following:
Usage after
The text was updated successfully, but these errors were encountered: