android中Servive类特性
//bind service
Intent intent = new Intent(mContext, CaseHandlerService.class);
mContext.bindService(intent, mConn, mContext.BIND_AUTO_CREATE);
在MainActivity绑定Service类时,先调用的是CaseHandlerService的onCreate();再调用...
原创
2020-09-20 18:34:24 ·
369 阅读 ·
0 评论