Hello folks,
I'm new to Monkey C and Garmin watches in general.
I'm coding a public transport monitor widget and am currently trying to determine what the correct or best way to handle different views is.
Like as far as I understood it a widget has to have something like a start screen and after "entering" the widget (subquestion: What is the correct event there actually? I read like two sentences about an enterWidget Behaviour but did not manage to catch it?) one can basically do all the things an app could do, view/ui wise.
So my question is, after having entered the widget, what is the correct way of changing displayed content. When should I just redraw stuff in onUpdate, when should I set a complete new Layout and when should I push a completely new view?
Actually, one more question, if a make multiple view classes like in the sample "UserProfile" where would I do my requests, computation etc.? (Like I want to split the UI/view from the computation part.)
While thinking and planning the widget I noticed that, if I manage to code this with a well structured, object oriented approach it could serve as a codebase for many other widgets that get information from the net and want to display different views etc.
Every help is greatly appreciated.
Thanks. :)
Regards,
Christian