trevjones
09/21/2017, 3:03 AMtimp
09/21/2017, 3:18 AMVoid
type, except the Void
type in java can’t be constructed and so the only valid value is null
.Regan Russell
09/21/2017, 3:20 AMjw
09/21/2017, 3:20 AMBaseFragment
is forhussain
04/25/2019, 10:08 AMFredrik Larsen
04/25/2019, 7:45 PMlouiscad
04/25/2019, 10:24 PMEslam Hussein
04/28/2019, 10:38 AMbrian
04/29/2019, 2:23 PMr2vq
04/29/2019, 3:38 PM@Parcelize
safe to use in production? I notice that I still need to enable experimental Android extensions.tony
05/01/2019, 4:59 PMitnoles
05/02/2019, 2:23 AMiex
05/02/2019, 11:52 PMiex
05/02/2019, 11:53 PMlog.d("...")
and this is the interface:
interface Log {
fun setup()
fun v(message: String)
fun d(message: String)
fun i(message: String)
fun w(message: String)
fun e(message: String)
}
Shan
05/05/2019, 6:37 PMitnoles
05/05/2019, 6:38 PMShan
05/05/2019, 6:39 PMitnoles
05/05/2019, 6:40 PMUraniam9
05/07/2019, 8:44 AMMarko Mitic
05/07/2019, 4:02 PMconst val
? If not, are there any plans to make if possible in future?
companion object {
//both these aren't constant expressions to compiler
const val LOG_TAG1 = this.javaClass.simpleName
const val LOG_TAG2 = MainActivity::class.simpleName!!
}
Obfuscation mangles class names so having them assigned to constants before obfuscation pass would be greatly useful.rkeazor
05/07/2019, 10:10 PMkevin.cianfarini
05/08/2019, 2:20 PMkevin.cianfarini
05/08/2019, 2:20 PMbuildscript {
ext["kotlin_version"] = "1.3.21"
repositories {
google()
jcenter()
}
dependencies {
classpath("com.android.tools.build:gradle:3.4.0")
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:${ext["kotlin_version"]}")
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
google()
jcenter()
}
}
task<Delete>("clean") {
delete(rootProject.buildDir)
}
kevin.cianfarini
05/08/2019, 2:20 PMkevin.cianfarini
05/08/2019, 2:20 PMScript compilation errors:
Line 04: ext["kotlin_version"] = "1.3.21"
^ Unresolved reference: ext
Line 12: classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:${ext["kotlin_version"]}")
^ Unresolved reference: ext
2 errors
Jacob Applin
05/08/2019, 8:26 PMNav Singh
05/09/2019, 1:21 PMNav Singh
05/09/2019, 1:21 PMNav Singh
05/09/2019, 1:21 PM