Last active
October 14, 2020 21:56
-
-
Save anncode1/a9736c3abf1e6d02d3021962d4c5a248 to your computer and use it in GitHub Desktop.
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
package com.example.hilttest.domain.agenda.model | |
/** | |
* Created by anahi.salgado on 27/07/2020 | |
*/ | |
class Agenda { | |
lateinit var type: String | |
lateinit var contacts: List<Contact> | |
fun createType() { | |
type = "Friends" | |
} | |
fun createContacts() { | |
contacts = listOf( | |
Contact("Anahí", "555-5555"), | |
Contact("Mauricio", "444-4444"), | |
Contact("Rodrigo", "333-3333"), | |
Contact("Mirella", "222-2222") | |
) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment