What do I use now that Anko is deprecated?
06:28 06 Jul 2021

How do I fix the deprecation warning in this code? Alternatively, are there any other options for doing this?

   runOnUiThread {

        doAsync {
             // room insert query
        }
   }
// anko Commons
implementation "org.jetbrains.anko:anko-commons:0.10.8"
android kotlin anko anko-component