looper.preparemainlooper()和looper.prepare()之间有什么区别?
1tuwyuhd1#
两者的区别是 Looper.prepareMainLooper() 及 Looper.prepare() 这是: Looper.prepareMainLooper() 准备活套 main thread .及 Looper.prepare() 准备活套 current thread .在这里阅读更多
Looper.prepareMainLooper()
Looper.prepare()
main thread
current thread
1条答案
按热度按时间1tuwyuhd1#
两者的区别是
Looper.prepareMainLooper()
及Looper.prepare()
这是:Looper.prepareMainLooper()
准备活套main thread
.及
Looper.prepare()
准备活套current thread
.在这里阅读更多