Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Added an extra event to notify when the SubsamplingScaleImageView has finished using the preview bitmap#222

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
davemorrissey merged 1 commit intodavemorrissey:masterfromlaurencedawson:patch-1
Jun 30, 2016

Conversation

@laurencedawson
Copy link
Contributor

In the case where setImage() is called using ImageSource.cachedBitmap() I found it to be handy to know when the SubsamplingScaleImageView has finished using the cached bitmap.

In my app I have started to aggressively reuse bitmaps after readingthis article. Having this extra callback allows me to mark the bitmap as no longer in use and free for reuse.

This might be a little niche but I figured it was worth submitting!

Cheers
Laurence

… finished using the preview bitmapIn the case where setImage() is called using ImageSource.cachedBitmap() I found it to be handy to know when the SubsamplingScaleImageView has finished using the cached bitmap.In my app I have started to aggressively reuse bitmaps after reading [this article](http://blog.booking.com/android-reuse-bitmaps.html). Having this extra callback allows me to mark the bitmap as no longer in use and free for reuse.This might be a little niche but I figured it was worth submitting!CheersLaurence
@davemorrisseydavemorrissey merged commit830872b intodavemorrissey:masterJun 30, 2016
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@laurencedawson@davemorrissey

[8]ページ先頭

©2009-2025 Movatter.jp