anthonyandroid
08/03/2017, 7:48 AMkotlin.jvm.internal.FunctionReference.<init>(ILjava/lang/Object;)V
any way to fix?denis.shakinov
08/03/2017, 8:11 AMscruffyfox
08/03/2017, 1:28 PMViewModel
with AsyncTask
to update UI and handle config-changes?bajicdusko
08/05/2017, 6:31 PMapply plugin: 'kotlin'
library-module in android studio. After second build everything is ok, and each following build, however building after clean produces errors.
I gotta feeling that classes are not generated at compile time, however, android studio does not show any error in the editor and “unresolved” classes can be navigated without problems.
There is one question on SO with similar problem, but apparently, new version fixed this: https://stackoverflow.com/questions/35798993/unresolved-reference-kotlin-needs-2-builds-after-clean-to-pick-up-code-when-usi
I’m using apply plugin: 'kotlin-kapt'
for dagger, parceler and requery processing.
ext.kotlin_version = '1.1.3-2
com.android.tools.build:gradle:3.0.0-alpha9
AS 3 Cannary 9Paul Woitaschek
08/07/2017, 7:10 AMv79
08/07/2017, 5:06 PMkarelpeeters
08/07/2017, 5:53 PMjw
08/07/2017, 5:54 PMcodeslubber
08/08/2017, 3:25 AMdalexander
08/08/2017, 3:02 PMjuliocbcotta
08/08/2017, 8:41 PMrkeazor
08/09/2017, 12:37 PMlpirro
08/09/2017, 3:58 PMbill1550
08/09/2017, 9:36 PMscruffyfox
08/10/2017, 10:39 AMaddToBackStack
because if i change the code so its always replacing the fragment (overridden the onBackPressed
method) then its fine, real weirdalouanemed
08/10/2017, 1:22 PM@BindView( R.id.imageview_welcome_intro_indicator_0) lateinit var introIndicator0: ImageView
Marc
08/10/2017, 1:23 PMalouanemed
08/10/2017, 1:51 PMstasbar
08/10/2017, 4:45 PMobject Utils {
private var testDevices: Array<String>? = null
private fun getTestDevices(context: Context): Array<String> {
return testDevices ?: context.resources.getStringArray(R.array.testDevices)
}
}
rkratnesh852
08/11/2017, 7:00 AMbdeg
08/11/2017, 10:26 AMsmilecs
08/11/2017, 3:41 PMossama
08/11/2017, 4:00 PMra1nmak3r
08/11/2017, 10:13 PMra1nmak3r
08/11/2017, 11:03 PMjw
08/11/2017, 11:05 PMbdeg
08/12/2017, 4:15 PMaudhil
08/13/2017, 2:23 PMext.kotlin_version = '1.1.3-2'
classpath 'com.android.tools.build:gradle:2.3.3'
and
kapt "com.android.databinding:compiler:2.3.0"
compile "org.jetbrains.kotlin:kotlin-stdlib-jre7:$kotlin_version"
adams2
08/13/2017, 9:30 PMadams2
08/13/2017, 10:38 PM