Garmin Forums
Site
Search
User
Site
Search
User
Apps & Software
Outdoor Recreation
Sports & Fitness
Pilots
Developer
Beta Program
German Forum
More
Cancel
Developer
More
Connect IQ
Connect IQ App Development Discussion
SwitchToView in callback
News & Announcements
Forums
Bug Reports
Wiki
Tags
More
Cancel
Replies
1 reply
Subscribers
14 subscribers
Views
386 views
Users
0 members are here
Options
Share
More
Cancel
Related
SwitchToView in callback
Former Member
over 10 years ago
Is there any limitation of where we can call switchToView? Can I call it from a callback after some asynchronous event? If not how can I post its execution to main thread or it has to be initiated by user interaction?
Former Member
over 10 years ago
You should be able to call Ui.switchToView from anywhere in code. I would recommend
not
calling it (or pushView/popView) from onUpdate().
Cancel
Up
0
Down
Reply
Cancel