Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a new scale type OnlyScaleDown #194

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

khrizt
Copy link

@khrizt khrizt commented Feb 18, 2016

Because of a memory leak I found using Picasso a big imageviews I'd like to add this new ScaleType to AndroidImageSlider to set the image to the dimensions I want and to say to Picasso I only want to scale down the image.

The commits are working in my project as I've added the library from my fork to the project

Add ScaleType onlyScaleDown for Picasso property
onlyScaleDown requires a resize, I've added the properties and the setter to specify to which dimensions we have to resize
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant