1package soy.iko.opencode
3import android.app.Application
4import soy.iko.opencode.data.repo.CrashLogger
5import soy.iko.opencode.di.AppContainer
7class OpencodeApp : Application() {
8 lateinit var container: AppContainer
11 override fun onCreate() {
13 CrashLogger.get(this).install()
14 container = AppContainer(this)
15 // onTerminate() is only called in emulated process environments, not on real
16 // devices. Register a JVM shutdown hook so cleanup (network callback unregister,
17 // scope cancellation, connection close) runs when the process is actually killed.
18 Runtime.getRuntime().addShutdownHook(Thread {
23 override fun onTerminate() {
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list