CustomTarget constructor javadoc and implementation are inconsistent
Glide Version: 4.9.0
Integration libraries:
Device/Android Version: *
Issue details / Repro steps / Use case background:
CustomTarget constructor javadoc says that width & height must be >= 0 or == Integer.MIN_VALUE.
However, the app crashes when width/height is 0 and throws exception with msg: Width and height must both be > 0. I looked at the implementation and we are enforcing that width & height to be > 0. Javadoc should also reflect it.
Created PR to update Javadoc https://github.com/bumptech/glide/pull/3583
👍👍
This issue has been automatically marked as stale because it has not had activity in the last seven days. It will be closed if no further activity occurs within the next seven days. Thank you for your contributions.