I am trying to learn Kotlin Flow
. And when I try to add
import kotlinx.coroutines.flow.*
it is not resolving.
你能看看我的依赖关系,帮我解决这个问题吗?
apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-android-extensions'
apply plugin: 'kotlin-kapt'
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
implementation 'androidx.core:core-ktx:1.1.0'
ext.kotlin_version = '1.3.61'
Please help me to solve the issue.