Documentation
¶
Overview ¶
Package appstate says when the app goes to the background or comes back: to pause something, or refresh what's on screen.
nimbus native plugin add app-state
go appstate.Watch(ctx, func(active bool) {
if active {
refresh()
}
})
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.