Android 最佳实践:可以在主线程上初始化 TextToSpeech 引擎吗?
Android best practice: is it ok to initialize the TextToSpeech engine on the main thread?
初始化android可以吗TextToSpeech object on the main thread? My understanding is that it should not be an issue creating the instance in onCreate()
since TextToSpeech.OnInitListener是异步回调,不会拖慢UI。这个假设正确吗?
答案是:是的,没错。 :D
初始化android可以吗TextToSpeech object on the main thread? My understanding is that it should not be an issue creating the instance in onCreate()
since TextToSpeech.OnInitListener是异步回调,不会拖慢UI。这个假设正确吗?
答案是:是的,没错。 :D