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
I'm using Scratcher with CachedNetworkImage and the issue I have is that on the first call of OnDraw after the image is loaded I get a size of (10, 10). Quickly afterwards OnDraw is called again with the correct size.
The problem is that the first call of OnDraw already initializes the points lists.
Now my current workaround is to check in OnDraw if the size has changed and if so I re-initialize the points. Of course this might lead to issues.
It works for now since the OnDraw calls appear quickly one ofter the other but maybe you have a better idea?
The text was updated successfully, but these errors were encountered:
Hey,
I'm using Scratcher with CachedNetworkImage and the issue I have is that on the first call of OnDraw after the image is loaded I get a size of (10, 10). Quickly afterwards OnDraw is called again with the correct size.
The problem is that the first call of OnDraw already initializes the points lists.
Now my current workaround is to check in OnDraw if the size has changed and if so I re-initialize the points. Of course this might lead to issues.
It works for now since the OnDraw calls appear quickly one ofter the other but maybe you have a better idea?
The text was updated successfully, but these errors were encountered: