ImprovTools
Toggle table of contents
release
Target filter
release
Switch theme
Search in API
Skip to content
ImprovTools
:app
/
com.brokenkernel.improvtools.encyclopaedia.presentation.viewmodel
/
ThesaurusSingleItemViewModel
Thesaurus
Single
Item
View
Model
internal
class
ThesaurusSingleItemViewModel
@
Inject
constructor
(
thesaurusRepository
:
ThesaurusRepository
,
thesaurusAPI
:
ThesaurusAPI
)
:
ViewModel
(
source
)
Members
Constructors
Thesaurus
Single
Item
View
Model
Link copied to clipboard
@
Inject
constructor
(
thesaurusRepository
:
ThesaurusRepository
,
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
@
EmptySuper
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