package in.mvpstarter.sample.injection; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import javax.inject.Scope; /** * A scoping annotation to permit objects whose lifetime should * conform to the life of the Fragment to be memorised in the * correct component. */ @Scope @Retention(RetentionPolicy.RUNTIME) public @interface PerFragment { }