{ actual val sharedScope = CoroutineScope(SupervisorJob() + Dispatchers.Main) actual override fun onCleared() { super.onCleared() sharedScope.cancel() } }
• Understand the generated code • Not everything needs to be KMP • Remember to use `internal` implementation definitions: ◦ constructors ◦ usecases ◦ repositories