pda
androidJvm
app
/
net.artux.pda.ui.viewmodels
/
NewsViewModel
News
View
Model
class
NewsViewModel
@
Inject
constructor
(
var
repository
:
NewsRepository
)
:
ViewModel
Members
Constructors
News
View
Model
Link copied to clipboard
@
Inject
constructor
(
repository
:
NewsRepository
)
Properties
article
Mapper
Link copied to clipboard
var
articleMapper
:
ArticleMapper
articles
Link copied to clipboard
var
articles
:
MutableLiveData
<
List
<
ArticleModel
>
>
repository
Link copied to clipboard
var
repository
:
NewsRepository
status
Link copied to clipboard
var
status
:
MutableLiveData
<
StatusModel
>
Functions
add
Closeable
Link copied to clipboard
open
fun
addCloseable
(
@
NonNull
p0
:
Closeable
)
update
Link copied to clipboard
fun
update
(
)
update
From
Cache
Link copied to clipboard
fun
updateFromCache
(
)