ThesaurusTabAllItemsViewModel

internal class ThesaurusTabAllItemsViewModel @Inject constructor(thesaurusRepository: ThesaurusRepository) : ViewModel

Constructors

Link copied to clipboard
@Inject
constructor(thesaurusRepository: ThesaurusRepository)

Properties

Link copied to clipboard
val dictionary: DictionaryInfo

Functions

Link copied to clipboard
open fun addCloseable(closeable: AutoCloseable)
fun addCloseable(key: String, closeable: AutoCloseable)
Link copied to clipboard
internal fun clear()
Link copied to clipboard
Link copied to clipboard
fun groupedWords(): ImmutableMap<String, List<String>>
Link copied to clipboard

Determine if visiting this word would result you learning new Synonyms TODO: Currently this is only one level of depth. Consider traversing the entire graph though.

Link copied to clipboard
protected open fun onCleared()
Link copied to clipboard