Calling this invalidates the previous generation ID, and causes a new one to be computed the next time getGenerationId() is called. Typically this is called by the object itself, in response to its internal state changing.
()
| 105 | * in response to its internal state changing. |
| 106 | */ |
| 107 | @ApiStatus.NonExtendable |
| 108 | public Drawable notifyDrawingChanged() { |
| 109 | Stats.onNativeCall(); |
| 110 | _nNotifyDrawingChanged(_ptr); |
| 111 | _bounds = null; |
| 112 | return this; |
| 113 | } |
| 114 | |
| 115 | @ApiStatus.OverrideOnly |
| 116 | public abstract void onDraw(Canvas canvas); |