Skip to content

Instantly share code, notes, and snippets.

@anncode1
Last active October 14, 2020 21:56
Show Gist options
  • Save anncode1/a9736c3abf1e6d02d3021962d4c5a248 to your computer and use it in GitHub Desktop.
Save anncode1/a9736c3abf1e6d02d3021962d4c5a248 to your computer and use it in GitHub Desktop.
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