Y
Size: a a a
Y
K
AM
val id = data?.run { document_id ?: id }
if(id != null) {
getDoc(id)
} else {
setState(R.id.error)
}
K
AM
K
Y
data?.also {
getDoc(it)
} ?: data2?.also {
getDoc(it)
} ?: run {
setState()
}
AM
data?.also {
getDoc(it)
} ?: data2?.also {
getDoc(it)
} ?: run {
setState()
}
?.let ?: run
в качестве контрол флоу.Y
internal
AN
internal
RE
RE
Y
Y
BP
Y
val context = coroutineContext
coroutineScope {
launch(context) {
block()
}
}
VP
val context = coroutineContext
coroutineScope {
launch(context) {
block()
}
}
Y
ПГ