Package 

Class TasksManager

    • Method Detail

      • getInstance

         static synchronized TasksManager getInstance()

        Factory method to obtain the Singleton instance of the TasksManager

      • executeOnBackgroundThread

         void executeOnBackgroundThread(Runnable task)

        This API can be used to execute code block on the background thread.

        Parameters:
        task - takes in task (to be executed on background thread) as a runnable