-
Notifications
You must be signed in to change notification settings - Fork 658
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
479f2eb
commit 04b27ef
Showing
17 changed files
with
95 additions
and
64 deletions.
There are no files selected for viewing
12 changes: 10 additions & 2 deletions
12
...ections/src/main/java/com/stripe/android/financialconnections/di/ActivityRetainedScope.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,12 @@ | ||
package com.stripe.android.financialconnections.di | ||
|
||
class ActivityRetainedScope { | ||
} | ||
import javax.inject.Scope | ||
|
||
/** | ||
* Scope annotation for bindings that should exist for the life of an activity, surviving configuration. | ||
* | ||
* Note: Dependencies scoped to this won't be shared across activities. | ||
*/ | ||
@Scope | ||
@Retention(AnnotationRetention.RUNTIME) | ||
annotation class ActivityRetainedScope |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.