Last active
June 23, 2018 12:14
-
-
Save dhruvtaneja/87ec4e782990b8ebd11b01e4cddd9660 to your computer and use it in GitHub Desktop.
app home viewmodel
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
val segmentsViewModels: ObservableArrayList<AppSegmentViewModel> = ObservableArrayList() | |
private fun getViewModelsFromSegments(appSegments: ArrayList<AppSegment>): ArrayList<AppSegmentViewModel> {} | |
private fun loadAppSegments() { | |
// get the app segments | |
segmentsViewModels.addAll(getViewModelsFromSegments(appSegments)) | |
} | |
fun start() { | |
loadAppSegments() | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment