ImprovTools
Toggle table of contents
androidJvm
Platform filter
androidJvm
Switch theme
Search in API
ImprovTools
app
/
com.brokenkernel.improvtools.encyclopaedia.presentation.viewmodel
/
ThesaurusSingleItemViewModel
Thesaurus
Single
Item
View
Model
internal
class
ThesaurusSingleItemViewModel
@
Inject
constructor
(
thesaurusRepository
:
ThesaurusRepository
,
val
thesaurusAPI
:
ThesaurusAPI
)
:
ViewModel
Members
Constructors
Thesaurus
Single
Item
View
Model
Link copied to clipboard
@
Inject
constructor
(
thesaurusRepository
:
ThesaurusRepository
,
thesaurusAPI
:
ThesaurusAPI
)
Properties
dictionary
Info
Link copied to clipboard
val
dictionaryInfo
:
DictionaryInfo
thesaurus
API
Link copied to clipboard
val
thesaurusAPI
:
ThesaurusAPI
Functions
add
Closeable
Link copied to clipboard
open
fun
addCloseable
(
closeable
:
AutoCloseable
)
fun
addCloseable
(
key
:
String
,
closeable
:
AutoCloseable
)
clear
Link copied to clipboard
@
MainThread
internal
fun
clear
(
)
get
Closeable
Link copied to clipboard
fun
<
T
:
AutoCloseable
>
getCloseable
(
key
:
String
)
:
T
?
on
Cleared
Link copied to clipboard
protected
open
fun
onCleared
(
)
rendered
Action
Synonyms
Link copied to clipboard
fun
renderedActionSynonyms
(
word
:
String
)
:
String
rendered
Word
Senses
Link copied to clipboard
fun
renderedWordSenses
(
word
:
String
)
:
String
should
Show
Action
Synonyms
Link copied to clipboard
fun
shouldShowActionSynonyms
(
word
:
String
)
:
Boolean
synonyms
Link copied to clipboard
fun
synonyms
(
word
:
String
)
:
Iterable
<
String
>