How to run two function one by one using Rxjava when functions are running on different thread

前端 未结 0 1722
眼角桃花
眼角桃花 2021-01-20 23:33
    fun A(){
        thread {
            Thread.sleep(1000)
           //MyCode

        }
    }

    fun B(){
        thread {
            //MyCode
        }
    }
}
<         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题