java.lang.Object
com.cryptoalgo.oursql.support.AsyncUtils

public class AsyncUtils extends Object
Small utility class to make working with threads a little easier.
  • Constructor Details

    • AsyncUtils

      public AsyncUtils()
  • Method Details

    • runLaterAndWait

      public static void runLaterAndWait(Runnable r)
      Run the runnable on the UI thread and wait for it to complete (blocking).
      Parameters:
      r - Runnable to run on UI thread