2020-06-22 02:12 AM
I have a custom class doing stuff, it's not made from touchGFX , so it doesn't have a presenter for comunicating with the model.
i need to read a value from a structure in the model.
Tnx
2020-06-23 06:48 PM
Does it need to have that direction? Usually you'd just update the class via the Model::tick() or modelListener interface when something happens, or update it once a presenter becomes active . E.g.
void MyPresenter::activate()
{
myClass.set(model.get());
}