ValV
10/01/2018, 10:29 PMPersonModel
used to store parameters. As far as I understood, it should be
class PersonEditor: Fragment() {
val model: PersonModel by inject()
...
}
So the trick inside editPerson
just creates two instances for PersonModel
and PersonEditor
classes and sets them up in a separate resource space, right? I.e. to pass parameters via a Scope, I must create some auxiliary class for my CategoryControlFragment
to store some options?