toggle menu
micro_utils.dokka
0.20.22
android
common
jvm
switch theme
search in API
micro_utils.dokka
/
dev.inmo.micro_utils.strings
/
StringResource
String
Resource
class
StringResource
(
val
default
:
String
,
val
map
:
Map
<
IetfLanguageCode
,
Lazy
<
String
>
>
)
(
source
)
Members
Members & Extensions
Constructors
String
Resource
Link copied to clipboard
constructor
(
default
:
String
,
map
:
Map
<
IetfLanguageCode
,
Lazy
<
String
>
>
)
Types
Builder
Link copied to clipboard
class
Builder
(
var
default
:
String
)
Properties
default
Link copied to clipboard
val
default
:
String
map
Link copied to clipboard
val
map
:
Map
<
IetfLanguageCode
,
Lazy
<
String
>
>
Functions
translation
Link copied to clipboard
fun
translation
(
languageCode
:
IetfLanguageCode
)
:
String
translation
Link copied to clipboard
android
jvm
fun
StringResource
.
translation
(
context
:
Context
)
:
String
fun
StringResource
.
translation
(
configuration
:
Configuration
)
:
String
fun
StringResource
.
translation
(
resources
:
Resources
)
:
String
fun
StringResource
.
translation
(
locale
:
Locale
=
Locale.getDefault()
)
:
String