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
Hey,
After the instantiation of TileView I set the scale mode. Because I'm reusing the instance I call setSize() after that a couple of times leading to a not working setScale() (mEffectiveMinScale was infinity because of the mBaseWidth == 0).
To avoid frustrating searches for the "bug" could you please add a hint in the documentation for setMinimumScaleMode() that setSize() has to be called first or recalculate the scaling limits when the size is set?
Thanks for the great framework.
The text was updated successfully, but these errors were encountered:
Hey,
After the instantiation of
TileView
I set the scale mode. Because I'm reusing the instance I callsetSize()
after that a couple of times leading to a not workingsetScale()
(mEffectiveMinScale
was infinity because of themBaseWidth == 0
).To avoid frustrating searches for the "bug" could you please add a hint in the documentation for
setMinimumScaleMode()
thatsetSize()
has to be called first or recalculate the scaling limits when the size is set?Thanks for the great framework.
The text was updated successfully, but these errors were encountered: