Baseflow / Baseflow/PhotoView

Reset zoom on setImageBitmap()

Open
#545 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
18.8k
Forks
3.9k
PR merge metrics
No merged PRs in 30d

Description

This was no problem in 2.0.0. As I tried to update to 2.1.3 I noticed this:

The desired Bitmap is loaded async from the web. While loading, a small placeholder is shown, set with `setImageBitmap()`. After downloading, the bitmap is updated with `setImageBitmap()`. But the zoom scale is now disabled and set to maximum.

It seems this is only an issue after completion of the layout.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.