am414
05/11/2019, 8:18 PMAndy Victors
05/11/2019, 8:24 PM<http://Dispatchers.IO|Dispatchers.IO>
been deprecated/removed? Documentation says it exist but it's not available in code (coroutines version 1.1.1
)thijs
05/12/2019, 8:10 AMthijs
05/12/2019, 8:11 AMHeart D
05/12/2019, 5:54 PMphelat
05/12/2019, 7:44 PMstartActivityForResult
but for Fragments. No more shared ViewModel boilerplate just for sharing data between two Fragments!
https://github.com/PHELAT/NavigationResultvitrox1
05/13/2019, 7:11 AMHeart D
05/13/2019, 8:13 AMJan
05/13/2019, 11:58 AMAndy Victors
05/13/2019, 12:36 PMktor
in MPP environment, specifically on iOS where currently only Main-Thread Dispatcher is offered (https://github.com/Kotlin/kotlinx.coroutines/issues/462)?dave
05/13/2019, 1:42 PMwilliam
05/13/2019, 6:09 PMGabriela Banica
05/14/2019, 9:10 AMTimo Obereder
05/14/2019, 11:10 AMPeter Fortuin
05/14/2019, 11:11 AMTimo Obereder
05/14/2019, 11:16 AMDevMike01
05/14/2019, 11:47 AMMatej Drobnič
05/14/2019, 12:08 PMAndy Victors
05/14/2019, 12:14 PMUnresolved reference
for `ktor`symbols inside the MPP code. This should be solved by adding enableFeaturePreview("GRADLE_METADATA")
but then I get error messages on other dependencies: Caused by: java.lang.RuntimeException: Unsupported format version '0.3' specified in module metadata. This version of Gradle supports format version 0.4 only.
at org.gradle.api.internal.artifacts.ivyservice.ivyresolve.parser.ModuleMetadataParser$1.transform(ModuleMetadataParser.java:80)
. It is possible to have a workaround to have both?william
05/14/2019, 9:52 PMmatt tighe
05/15/2019, 6:37 PMinline val Context.storageRoot: File
get() = this.getExternalFilesDir(null) ?: run {
val storageRoot = File(this.filesDir, "storage")
storageRoot.mkdirs()
storageRoot
}
jw
05/16/2019, 3:09 AMPaulius Ruminas
05/16/2019, 8:35 AMvoid invoke();
. I use that SAM interface as a lambda expression in Kotlin from a different package. If I run this code from Android studio I don't get any runtime exception but if I bundle it into an APK then I receive java.lang.IllegalAccessError
. Why is that?tseisel
05/16/2019, 9:31 AMGlide
with coroutines :
suspend fun RequestBuilder<Bitmap>.intoBitmap(width: Int, height: Int): Bitmap?
I expect that function to :
1. load a Bitmap
(or Drawable
) with the specified dimensions,
2. suspend until loaded (be it successful or failed),
3. gracefully handle cancellation.
Do you have any guidance, or maybe a library that already does that ?Kulwinder Singh
05/16/2019, 10:09 AMcoroutines
using 'androidx.lifecycle:lifecycle-extensions:2.2.0-alpha01'
which is latest version but i'm unable to get viewLifecycleOwner.lifecycleScope.launch {}//here lifecycleScope is not available
, what i'm missing ?Gil Goldzweig
05/17/2019, 6:42 AMscottiedog45
05/17/2019, 8:12 AMAadish Goel
05/17/2019, 9:53 AMMarkus
05/17/2019, 12:57 PMUraniam9
05/17/2019, 4:35 PMUraniam9
05/17/2019, 4:35 PMrishabhsinghbisht
05/18/2019, 10:31 AM