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
java.lang.RuntimeException: An error occurred while executing doInBackground()
at android.os.AsyncTask$3.done(AsyncTask.java:354)
at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:383)
at java.util.concurrent.FutureTask.setException(FutureTask.java:252)
at java.util.concurrent.FutureTask.run(FutureTask.java:271)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:245)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
at java.lang.Thread.run(Thread.java:764)
Caused by: java.lang.IllegalArgumentException: Can't triangulate less than 3 points
at com.manolovn.trianglify.util.Preconditions.checkArgument(Preconditions.java:25)
at com.manolovn.trianglify.triangulator.DelaunayTriangulator.triangulate(DelaunayTriangulator.java:27)
at com.manolovn.trianglify.TrianglifyDrawable$TriangulateAsyncTask.doInBackground(TrianglifyDrawable.java:127)
at com.manolovn.trianglify.TrianglifyDrawable$TriangulateAsyncTask.doInBackground(TrianglifyDrawable.java:118)
The text was updated successfully, but these errors were encountered:
When I try to set color generator dynamically,
binding.trvBg.drawable.setColorGenerator(RandomColorGenerator())
app crashes with below stacktrace
The text was updated successfully, but these errors were encountered: