-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Fixed a few code comments * Removed Konbini refresh state stuff * Closable KomojuApi Client
- Loading branch information
Showing
13 changed files
with
165 additions
and
64 deletions.
There are no files selected for viewing
32 changes: 19 additions & 13 deletions
32
android/src/main/java/com/komoju/android/sdk/ExperimentalKomojuPaymentApi.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,22 +1,28 @@ | ||
package com.komoju.android.sdk | ||
|
||
/** | ||
* This annotation means that this option is experimental and subject to change in Future. | ||
* Please test your behaviour overall once you update the komoju SDK Version | ||
* Annotation used to mark APIs in the Komoju SDK as experimental. | ||
* This indicates that the annotated feature or API is subject to change in future releases. | ||
* Users should be cautious and thoroughly test their code after updating the SDK version. | ||
* | ||
* - The annotation requires explicit opt-in to use the marked elements. | ||
* - A warning will be shown when using experimental APIs. | ||
* | ||
* @see [RequiresOptIn] to learn more about Kotlin's opt-in mechanism. | ||
*/ | ||
@RequiresOptIn(level = RequiresOptIn.Level.WARNING) | ||
@Retention(AnnotationRetention.BINARY) | ||
@Target( | ||
AnnotationTarget.CLASS, | ||
AnnotationTarget.ANNOTATION_CLASS, | ||
AnnotationTarget.PROPERTY, | ||
AnnotationTarget.FIELD, | ||
AnnotationTarget.LOCAL_VARIABLE, | ||
AnnotationTarget.VALUE_PARAMETER, | ||
AnnotationTarget.CONSTRUCTOR, | ||
AnnotationTarget.FUNCTION, | ||
AnnotationTarget.PROPERTY_GETTER, | ||
AnnotationTarget.PROPERTY_SETTER, | ||
AnnotationTarget.TYPEALIAS, | ||
AnnotationTarget.CLASS, // Can annotate classes | ||
AnnotationTarget.ANNOTATION_CLASS, // Can annotate other annotations | ||
AnnotationTarget.PROPERTY, // Can annotate properties | ||
AnnotationTarget.FIELD, // Can annotate fields | ||
AnnotationTarget.LOCAL_VARIABLE, // Can annotate local variables | ||
AnnotationTarget.VALUE_PARAMETER, // Can annotate function parameters | ||
AnnotationTarget.CONSTRUCTOR, // Can annotate constructors | ||
AnnotationTarget.FUNCTION, // Can annotate functions | ||
AnnotationTarget.PROPERTY_GETTER, // Can annotate property getters | ||
AnnotationTarget.PROPERTY_SETTER, // Can annotate property setters | ||
AnnotationTarget.TYPEALIAS, // Can annotate type aliases | ||
) | ||
annotation class ExperimentalKomojuPaymentApi |
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
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