自定義範圍

@Scope
@Documented
@Retention(RUNTIME)
public @interface ActivityScope {
}

範圍只是註釋,你可以根據需要建立自己的註釋。