ZabGo
04/21/2020, 10:29 AMfun setContext(currentActivity: Activity){
connector.setUIContext(currentActivity) // this function is from the third party library
}
I wonder how I could access the type Activity. It looks it does not recognise it or the android api is not accessible.
Do I need to add anything in the build.gradle.kts?
Thanks for your helpmagnumrocha
04/21/2020, 10:53 AMZabGo
04/21/2020, 12:24 PMKris Wong
04/21/2020, 12:59 PMZabGo
04/21/2020, 1:19 PMKris Wong
04/21/2020, 1:33 PM