@Retention(value=RUNTIME) public @interface OnUnbindService
SectionComponent
should
unset any listener previously set on the Service.
For example:
@DiffSectionSpec
public class MyChangeSetSpec {
@OnUnbindServices
protected void onUnbindService(
SectionContext c,
SomeService myService,
@Prop SomeProp prop) {
myService.unregisterListener(...);
}
}