问题描述
我在android中读到了一篇关于service&AsyncTask的文章。它解释了非交互式操作需要很长时间才能使用服务。之后它引入了IntentService而没有任何有用的解释!它只是说许多程序员忘记停止服务并且它会导致很多问题所以如果你想避免这个问题你应该使用IntentService! (这是什么意思?)
现在我想知道哪一个更好,这两个类之间的主要区别是什么
i read an article about service & AsyncTask in android . it explains for non interactive operations which take a long Time you have to use Service . after that it introduces IntentService without any useful Explanation ! it just only says many programmers forget to Stop Service and it causes a lot of problems so if you want to avoid this problems you should use IntentService !!! (what does it mean ? )
now i want to know which one is better and what is the main difference between this 2 classes
推荐答案
这篇关于android中的service和intentService有什么区别?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!