Saiedmomen
12/31/2018, 11:44 PMjurajsolarml
01/02/2019, 1:33 PMdave08
01/02/2019, 2:56 PMmanuelernesto
01/02/2019, 6:39 PMrkeazor
01/03/2019, 3:01 PMyodgor777
01/04/2019, 8:41 AMmatt tighe
01/04/2019, 7:25 PMjava.lang.UnsupportedOperationException
at org.objectweb.asm.ClassVisitor.visitModule(ClassVisitor.java:135)
at org.objectweb.asm.ClassReader.readModule(ClassReader.java:715)
at org.objectweb.asm.ClassReader.accept(ClassReader.java:536)
at org.objectweb.asm.ClassReader.accept(ClassReader.java:391)
at com.android.builder.desugaring.DesugaringClassAnalyzer.analyze(DesugaringClassAnalyzer.java:144)
at com.android.builder.desugaring.DesugaringClassAnalyzer.analyzeJar(DesugaringClassAnalyzer.java:92)
at com.android.builder.desugaring.DesugaringClassAnalyzer.analyze(DesugaringClassAnalyzer.java:63)
at com.android.build.gradle.internal.transforms.DesugarIncrementalTransformHelper.lambda$getInitalGraphData$4(DesugarIncrementalTransformHelper.java:150)
at java.util.concurrent.ForkJoinTask$AdaptedCallable.exec(ForkJoinTask.java:1424)
at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)
at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056)
at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692)
at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157)
i’m wondering if this is some transitive dependency issue like is described here: https://stackoverflow.com/questions/52589914/android-type-without-superclass-module-info
but the only difference i can see is that mockito is using coroutines v0.19.3 where i’m using 1.0.0LaviniaDragunoi
01/04/2019, 9:21 PMMark
01/05/2019, 7:20 AMMyClass c = foo.bar
I can hold down Cmd key and click on MyClass
to jump to class declaration. Kotlin is much more concise so we have val c = foo.bar
but now we don’t have MyClass
to easily click on. I know we can do Shift-Cmd-B but that’s not particularly memorable. I suppose we also have the option to reprogram shortcuts but I prefer to stick to defaults where at all possible. Any tips?Smorg
01/05/2019, 7:27 AMghedeon
01/05/2019, 10:26 PMLiveData
kotlin extensions library? Stumbled upon this one: https://github.com/Shopify/livedata-ktx, but seems a bit buggy. (Yeah, I know, people try to create another Rx on a crooked foundation, but still...)Allan Wang
01/06/2019, 3:35 AMassembleDebug
, warning outputs like the following get outputted:
:mediapicker:compileDebugKotlin
w: .../src/main/kotlin/ca/allanwang/kau/mediapicker/MediaPickerCore.kt: (169, 17): 'getter for supportLoaderManager: LoaderManager!' is deprecated. Deprecated in Java
:mediapicker:prepareLintJar UP-TO-DATE
Is there any gradle command that just gets the warnings without all the other output? These warnings aren’t present in lintRelease
Ahmed Mamdouh
01/06/2019, 2:57 PMalle.iacob
01/06/2019, 11:43 PMalle.iacob
01/06/2019, 11:43 PMAllan Wang
01/06/2019, 11:44 PM@JvmStatic
.
See
https://stackoverflow.com/questions/37075871/can-i-bind-an-error-message-to-a-textinputlayoutalle.iacob
01/06/2019, 11:57 PMjurajsolarml
01/07/2019, 1:09 PMdave08
01/07/2019, 6:03 PMBroadcastReceiver
that needs to be registered on the fly in a service (to await for a notification's pending intent...)?Ryan Abraham
01/08/2019, 3:11 AMrCorbellini
01/08/2019, 11:56 AMSaiedmomen
01/08/2019, 4:34 PMghedeon
01/09/2019, 11:16 AMprivate val _foo by lazy { MutableLiveData()}
val foo: LiveData by lazy { _foo } // why second lazy?
Does this second lazy really make sense? Seems like val foo: LiveData = _foo
val foo: LiveData get() = _foo
should be enough.Alf_
01/09/2019, 3:49 PMAlf_
01/09/2019, 3:49 PMnwh
01/09/2019, 7:07 PMlouiscad
01/09/2019, 11:00 PMWahib
01/10/2019, 11:55 PMPhilippe Boisney
01/11/2019, 8:15 AMJob
to a repository's constructor, especially to access it inside a ViewModel (and being able to cancel it)?
class UserRepository(private val service: GithubService,
val job: Job)
class SearchUserViewModel(private val repository: UserRepository): ViewModel() {
private fun cancelJob() {
repository.job.cancel()
}
}
Mehdi
01/11/2019, 12:54 PM