Mapsted Android SDK 26.8.1
Toggle table of contents
androidJvm
Target filter
androidJvm
Switch theme
Search in API
Skip to content
Mapsted Android SDK 26.8.1
android-app-template
/
com.mapsted.app_template.presentation.category
/
CategoryHomeViewModel
Category
Home
View
Model
open
class
CategoryHomeViewModel
(
coreApi
:
CoreApi
,
coroutineDispatcherProvider
:
CoroutineDispatcherProvider
)
:
ViewModel
Members
Constructors
Category
Home
View
Model
Link copied to clipboard
constructor
(
coreApi
:
CoreApi
,
coroutineDispatcherProvider
:
CoroutineDispatcherProvider
)
Types
Category
Home
Ui
State
Link copied to clipboard
sealed
class
CategoryHomeUiState
Properties
ui
State
Link copied to clipboard
val
uiState
:
StateFlow
<
CategoryHomeViewModel.CategoryHomeUiState
>
Functions
add
Closeable
Link copied to clipboard
open
fun
addCloseable
(
closeable
:
AutoCloseable
)
fun
addCloseable
(
key
:
String
,
closeable
:
AutoCloseable
)
fetch
Entities
Async
Link copied to clipboard
fun
fetchEntitiesAsync
(
category
:
Category
?
)
fetch
Entities
Async
New
Link copied to clipboard
fun
fetchEntitiesAsyncNew
(
category
:
Category
?
)
get
Categories
Link copied to clipboard
fun
getCategories
(
propertyId
:
Int
)
get
Closeable
Link copied to clipboard
fun
<
T
:
AutoCloseable
>
getCloseable
(
key
:
String
)
:
T
?
get
Core
Api
Link copied to clipboard
fun
getCoreApi
(
)
:
CoreApi
get
Explore
List
Live
Data
Link copied to clipboard
fun
getExploreListLiveData
(
)
:
LiveData
<
List
<
ISearchable
>
?
>
?