Android calls the onRebind method of Service

Proceed as follows:

  • 1.startService
  • 2.bindService
  • 3. Set the return value of onUnbind to true

This will use the onRebind method.

Conditions of Use

Bind the service object for the second time.

Guess you like

Origin blog.csdn.net/weixin_37627774/article/details/109096947