export onCreate
(activity *C.ANativeActivity)
| 125 | |
| 126 | //export onCreate |
| 127 | func onCreate(activity *C.ANativeActivity) { |
| 128 | // Set the initial configuration. |
| 129 | // |
| 130 | // Note we use unbuffered channels to talk to the activity loop, and |
| 131 | // NativeActivity calls these callbacks sequentially, so configuration |
| 132 | // will be set before <-windowRedrawNeeded is processed. |
| 133 | windowConfigChange <- windowConfigRead(activity) |
| 134 | } |
| 135 | |
| 136 | //export onDestroy |
| 137 | func onDestroy(activity *C.ANativeActivity) { |
nothing calls this directly
no test coverage detected