Skip to content
This repository was archived by the owner on Jul 13, 2020. It is now read-only.

Support done() in async-uiThread  #181

Closed
@netdur

Description

@netdur

Thanks for wonderful library

sometimes, for performance reasons, I would like to do some calculations off main thread then push results to ui, for example

async {
  val img = getImageFromCache().crop().filter(BLACKWHITE)
  uiThread {
    image.setImageBitmap(img)
  }
}

the problem, uiThread may not be called at all, I think extra done() function would solve this problem

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions