AsyncDrawable remove deprecated hasKnownDimentions
This commit is contained in:
parent
19b6763a23
commit
9347208746
@ -16,6 +16,9 @@
|
||||
#### Deprecated
|
||||
* `core` - `MovementMethodPlugin.create()` use explicit `MovementMethodPlugin.link()` instead
|
||||
|
||||
#### Removed
|
||||
* `image` - `AsyncDrawable#hasKnownDimentions` (deprecated in `4.2.1`)
|
||||
|
||||
[#235]: https://github.com/noties/Markwon/issues/235
|
||||
[#259]: https://github.com/noties/Markwon/issues/259
|
||||
|
||||
|
@ -70,17 +70,6 @@ public class AsyncDrawable extends Drawable {
|
||||
return imageSizeResolver;
|
||||
}
|
||||
|
||||
/**
|
||||
* @see #hasKnownDimensions()
|
||||
* @since 4.0.0
|
||||
* @deprecated 4.2.1
|
||||
*/
|
||||
@SuppressWarnings({"unused", "WeakerAccess"})
|
||||
@Deprecated
|
||||
public boolean hasKnownDimentions() {
|
||||
return canvasWidth > 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* @since 4.2.1
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user