wasabeef/Blurry

acync and onto after update 4.0.0

ifyousleep opened this issue · 2 comments

There is this code that works on version 3

Blurry.with(context)
.radius(8)
.sampling(8)
.async { make any func }
.animate(any duration)
.onto(any FrameLayout)

But on version 4, I cannot use this code and cannot reproduce the actions I need.
Can you help me with the update?

@ifyousleep

Yes, We added another async method.

Blurry.with(context)
  .radius(8)
  .sampling(8)
  .animate(any duration)
  .getAsync { bitmap ->
    layout.addView(any ImageView with using bitmap)
  }