frank
08/24/2020, 4:30 PMdata objects
and make it less verbose(1 line) and save it in the same file of the class or view.
Experiences with these cases and suggestions? Possible Errors?
PD: In Java separated it from the file as it is a rather verbose language, I'm testing this approach with Kotlin.
Sample Code:
data class InputChooseFolder(val label: Label, val input: TextField, val btnFolder: Button){}
class Portal : View {
// call InputChooseFolder() constructor
}