You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: core/api/android/core.api
+8Lines changed: 8 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,7 @@
1
1
public class io/tolgee/Tolgee {
2
2
public static final field Companion Lio/tolgee/Tolgee$Companion;
3
3
public fun <init> (Lio/tolgee/Tolgee$Config;)V
4
+
public final fun addChangeListener (Lio/tolgee/Tolgee$ChangeListener;)V
4
5
public final fun getChangeFlow ()Lkotlinx/coroutines/flow/MutableSharedFlow;
5
6
public fun getConfig ()Lio/tolgee/Tolgee$Config;
6
7
public static final fun getInstance ()Lio/tolgee/TolgeeAndroid;
@@ -12,6 +13,7 @@ public class io/tolgee/Tolgee {
12
13
public static final fun new (Lio/tolgee/Tolgee$Config;)Lio/tolgee/TolgeeAndroid;
13
14
public static final fun new (Lkotlin/jvm/functions/Function1;)Lio/tolgee/TolgeeAndroid;
14
15
public fun preload (Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
16
+
public final fun removeChangeListener (Lio/tolgee/Tolgee$ChangeListener;)Z
15
17
public fun setLocale (Ljava/lang/String;)Ljava/util/Locale;
16
18
public fun setLocale (Ljava/util/Locale;)Ljava/util/Locale;
17
19
public final fun t (Ljava/lang/String;)Ljava/lang/String;
@@ -24,6 +26,10 @@ public class io/tolgee/Tolgee {
24
26
public static synthetic fun tFlow$default (Lio/tolgee/Tolgee;Ljava/lang/String;Lio/tolgee/model/TolgeeMessageParams;ILjava/lang/Object;)Lkotlinx/coroutines/flow/Flow;
25
27
}
26
28
29
+
public abstract interface class io/tolgee/Tolgee$ChangeListener {
30
+
public abstract fun onTranslationsChanged ()V
31
+
}
32
+
27
33
public final class io/tolgee/Tolgee$Companion {
28
34
public final fun getInstance ()Lio/tolgee/TolgeeAndroid;
29
35
public final fun getInstanceOrNull ()Lio/tolgee/TolgeeAndroid;
@@ -167,6 +173,7 @@ public final class io/tolgee/TolgeeAndroid : io/tolgee/Tolgee {
167
173
public final fun tPlural (Landroid/content/res/Resources;II[Ljava/lang/Object;)Ljava/lang/String;
168
174
public final fun tPluralFlow (Landroid/content/res/Resources;II)Lkotlinx/coroutines/flow/Flow;
169
175
public final fun tPluralFlow (Landroid/content/res/Resources;II[Ljava/lang/Object;)Lkotlinx/coroutines/flow/Flow;
176
+
public final fun tStyled (Landroid/content/Context;I)Ljava/lang/CharSequence;
170
177
public fun toString ()Ljava/lang/String;
171
178
}
172
179
@@ -200,6 +207,7 @@ public final class io/tolgee/common/ExtendTolgee_androidKt {
200
207
public static final fun getStringT (Landroid/content/Context;I[Ljava/lang/Object;)Ljava/lang/String;
201
208
public static final fun getStringT (Landroid/content/Context;Lio/tolgee/Tolgee;I)Ljava/lang/String;
202
209
public static final fun getStringT (Landroid/content/Context;Lio/tolgee/Tolgee;I[Ljava/lang/Object;)Ljava/lang/String;
210
+
public static final fun getTextT (Landroid/content/Context;Lio/tolgee/Tolgee;I)Ljava/lang/CharSequence;
203
211
}
204
212
205
213
public abstract interface class io/tolgee/model/TolgeeMessageParams : de/comahe/i18n4k/messages/formatter/MessageParameters {
Copy file name to clipboardExpand all lines: core/api/jvm/core.api
+6Lines changed: 6 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,7 @@
1
1
public class io/tolgee/Tolgee {
2
2
public static final field Companion Lio/tolgee/Tolgee$Companion;
3
3
public fun <init> (Lio/tolgee/Tolgee$Config;)V
4
+
public final fun addChangeListener (Lio/tolgee/Tolgee$ChangeListener;)V
4
5
public final fun getChangeFlow ()Lkotlinx/coroutines/flow/MutableSharedFlow;
5
6
public fun getConfig ()Lio/tolgee/Tolgee$Config;
6
7
public static final fun getInstance ()Lio/tolgee/common/PlatformTolgee;
@@ -12,6 +13,7 @@ public class io/tolgee/Tolgee {
12
13
public static final fun new (Lio/tolgee/Tolgee$Config;)Lio/tolgee/common/PlatformTolgee;
13
14
public static final fun new (Lkotlin/jvm/functions/Function1;)Lio/tolgee/common/PlatformTolgee;
14
15
public fun preload (Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
16
+
public final fun removeChangeListener (Lio/tolgee/Tolgee$ChangeListener;)Z
15
17
public fun setLocale (Ljava/lang/String;)Ljava/util/Locale;
16
18
public fun setLocale (Ljava/util/Locale;)Ljava/util/Locale;
17
19
public final fun t (Ljava/lang/String;)Ljava/lang/String;
@@ -24,6 +26,10 @@ public class io/tolgee/Tolgee {
24
26
public static synthetic fun tFlow$default (Lio/tolgee/Tolgee;Ljava/lang/String;Lio/tolgee/model/TolgeeMessageParams;ILjava/lang/Object;)Lkotlinx/coroutines/flow/Flow;
25
27
}
26
28
29
+
public abstract interface class io/tolgee/Tolgee$ChangeListener {
30
+
public abstract fun onTranslationsChanged ()V
31
+
}
32
+
27
33
public final class io/tolgee/Tolgee$Companion {
28
34
public final fun getInstance ()Lio/tolgee/common/PlatformTolgee;
29
35
public final fun getInstanceOrNull ()Lio/tolgee/common/PlatformTolgee;
0 commit comments