A bound Service 提供了一种CS模式的Service。 A bound service allows components (such as activities) to bind to the service, send requests, receive responses, and even perform interprocess communication
startService(): run indefinetly, 需要在适当时候stopSelf() onBind(): 提供一个CS模式的服务,runs as long as the component bound to it. 当所有组件都unBind() 时,Service也就destroy了。
定义:A Fragment represents a behavior or a portion of user interface in an Activity. 一个Activity可包括多个Fragments,用来建立一个多pane的UI,并可在多个Activity中重用这些Fragment。此外,可将其看作是一个Activity的模块化部分,它有自己的生命周期,可接受用户输入,可在Activity运行时进行添加或者修改。...
特性: Available For Every Activity and Fragment Asynchronous loading data monitor source data and deliever new results when the content changes reconnnect to the last loader's cursor.