【发布时间】:2020-07-12 20:16:15
【问题描述】:
在主线程初始化androidTextToSpeech对象可以吗?我的理解是,在onCreate() 中创建实例应该不是问题,因为TextToSpeech.OnInitListener 是一个异步回调,它不会减慢 UI。这个假设正确吗?
【问题讨论】:
-
是的,我也认为它是正确的。
标签: android performance profiling text-to-speech
在主线程初始化androidTextToSpeech对象可以吗?我的理解是,在onCreate() 中创建实例应该不是问题,因为TextToSpeech.OnInitListener 是一个异步回调,它不会减慢 UI。这个假设正确吗?
【问题讨论】:
标签: android performance profiling text-to-speech
答案是:是的,这是正确的。 :D
【讨论】: