Jay
02/12/2019, 11:09 AMVishal
02/13/2019, 3:40 AMdave
02/13/2019, 9:54 AMarekolek
02/13/2019, 1:47 PMandroid.annotations.Nullable
generate a mere warning instead of an error?arekolek
02/14/2019, 11:43 AMuse
from KTX, but still have it if you actually don’t recycle the TypedArray
? (Not this instance of course, but any future instances)diego-gomez-olvera
02/14/2019, 2:49 PMinline val @receiver:ColorInt Int.alpha get() = (this shr 24) and 0xff
from KTX, but unfortunately the extension is visible to any Int
. Is it the expected behavior or a known issue?ribesg
02/14/2019, 3:04 PMChris Zhang
02/14/2019, 8:49 PMAyoub
02/15/2019, 9:27 AMCannot find a version of 'org.jetbrains.kotlin:kotlin-stdlib-jdk7' that satisfies the version constraints:
Dependency path 'mymodule:unspecified' --> 'org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.3.11' --> 'org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.3.11'
Dependency path 'mymodule:unspecified' --> 'io.realm:realm-android-kotlin-extensions:5.9.0' --> 'org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.2.50'
Constraint path 'mymodule:unspecified' --> 'org.jetbrains.kotlin:kotlin-stdlib-jdk7' strictly '1.2.50' because of the following reason: debugRuntimeClasspath uses version 1.2.50
Shane Blackburn
02/18/2019, 2:09 PMLeoColman
02/18/2019, 11:34 PMMarcin Wisniowski
02/20/2019, 9:13 PMwithContext(<http://Dispatchers.IO|Dispatchers.IO>)
, is there a way to replace <http://Dispatchers.IO|Dispatchers.IO>
to use the main thread in unit tests? Or do I have to pass a dispatcher with DI to replace in tests?jurajsolarml
02/21/2019, 8:44 AM540grunkspin
02/21/2019, 8:55 AMParcel.readSparseArray
. It returns SparseArray
without any generic parameter and I am not aware of a way to read it with the generic parameter. It should be fairly easy to reify that one to do a cast for you. I know that this is not something that is super hard to do yourself but it feels like a hack every time i need to suppress the unchecked cast warning.zokipirlo
02/21/2019, 9:37 AMHappy
02/21/2019, 8:26 PMAnimesh
02/22/2019, 12:09 PMribesg
02/25/2019, 3:44 PMgen
folder, I don’t have that... Any idea why I don’t have a R file? I’ve been stuck on this for hours now. The build works, the app works, IDEA just keeps telling me R is not found and removing the imports every time I optimize importskosvyden
02/26/2019, 7:37 AMidling resource
?
Probably someone can suggest good tutorial how to implement this case?
I have my own implementation, but it works time to time.. I’ve missed smthg..Ive Vasiljevic
02/26/2019, 10:07 AMOleh Ponomarenko
02/26/2019, 11:57 AMDmitry Khasanov
02/26/2019, 12:37 PMKevin Janvier Chinabalire
02/26/2019, 6:55 PMval list:Any
then how do i access the value of Any
nwh
02/26/2019, 9:56 PMAnimesh
02/27/2019, 1:50 PMPavel.AZ
02/28/2019, 9:39 AMUraniam9
02/28/2019, 2:13 PMUraniam9
02/28/2019, 2:52 PMleosan
02/28/2019, 4:33 PMscottiedog45
03/01/2019, 1:15 AMscottiedog45
03/01/2019, 1:15 AMMichael Bernier
03/01/2019, 1:17 AMscottiedog45
03/01/2019, 1:17 AMMichael Bernier
03/01/2019, 1:19 AMscottiedog45
03/01/2019, 1:56 AMitnoles
03/01/2019, 5:20 AMBino
03/01/2019, 7:21 AM“Type-safe HTTP client for Android and Java by Square, Inc.”The counterpart from ktor is also available for iOS. It could help when you already have ios background. (https://ktor.io/clients/http-client/engines.html) Perhaps you should also take a look into Kotlin Multiplatforms, where you can share code between ios and JVM applications if you plan to write for both platforms: https://kotlinlang.org/docs/reference/multiplatform.html
louiscad
03/01/2019, 8:40 AMKris Wong
03/01/2019, 1:57 PMscottiedog45
03/02/2019, 5:41 PMitnoles
03/02/2019, 5:45 PMscottiedog45
03/02/2019, 5:51 PMitnoles
03/02/2019, 6:52 PM