Runs the given function on the UI thread (this is for things like showing a popup asking a user for input). Only necessary to call if you're not already on the UI thread i.e. you're inside a goroutine. All controller handlers are executed on the UI thread.
(f func() error)
| 71 | // Only necessary to call if you're not already on the UI thread i.e. you're inside a goroutine. |
| 72 | // All controller handlers are executed on the UI thread. |
| 73 | OnUIThread(f func() error) |
| 74 | // Like OnUIThread, but signals that the callback only modifies view |
| 75 | // content (e.g. spinner), allows the event loop to skip |
| 76 | // the expensive layout recalculation when only content changed. |
no outgoing calls
no test coverage detected