mirror of
https://github.com/melihaksoy/Android-Kotlin-Modulerized-CleanArchitecture.git
synced 2026-03-26 03:11:33 +01:00
Version updates
This commit is contained in:
@@ -17,14 +17,16 @@ class DetailViewModel @Inject constructor(
|
||||
|
||||
//region Properties
|
||||
|
||||
val rocketName = map(successData) {
|
||||
it.rocketName
|
||||
}
|
||||
get() {
|
||||
loadData()
|
||||
return field
|
||||
val rocketName by lazy {
|
||||
val nameData = map(successData) {
|
||||
it.rocketName
|
||||
}
|
||||
|
||||
loadData()
|
||||
|
||||
nameData
|
||||
}
|
||||
|
||||
val description = map(successData) {
|
||||
it.missionDescription
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user