2015
06.22

Service:运行于主线程,所以在运行过程中会造成UI没有响应;必须要调用stopService()或者stopSelf()方法去停止。
IntentService:会创建一个独立的新线程,所以不会影响UI;执行完成后自动停止,不必调用stopService()或stopSelft()方法。

回复功能关闭


Hit Counter by http://yizhantech.com/