karelpeeters
11/14/2017, 10:00 PMsailxjx
11/15/2017, 7:56 AMThread.sleep
Minty
11/15/2017, 9:08 AMMinty
11/15/2017, 9:09 AMnoncom
11/15/2017, 3:23 PMdavid.bilik
11/16/2017, 7:59 AMwith(layout) {
viewmodel.observeData()
.subscribe {
myField.setDataWithCallback(it, {
viewmodel.onFieldChanged(it)
})
}
}
and proguard fails on Warning: com.example.calculator.CalculatorFragment$onViewCreated$1$4$1: can't find referenced class com.example.calculator.CalculatorFragment$onViewCreated$1$4
It happened to me before and i solved that by refactoring my code to multiple methods but still, I dont think its necessary hereScott
11/16/2017, 11:50 AMnerses
11/16/2017, 1:07 PMmatej
11/16/2017, 1:15 PMCannot resolve symbol 'val'
, only to realize you're in a Java class.mingkangpan
11/16/2017, 1:58 PMLoránd
11/16/2017, 4:36 PMError:Could not initialize class org.jetbrains.kotlin.gradle.KotlinGradleModelBuilder
does anyone have a sugesstion on how to solve this?kantsu
11/16/2017, 10:00 PMwhile (`in`!!.readLine() != null) {
line = `in`!!.readLine()
outputText += line
}
hho
11/17/2017, 12:54 PMAutoCloseable
).pokkeli
11/17/2017, 1:28 PMdave
11/17/2017, 6:48 PMjdiaz
11/18/2017, 5:03 PMlclc
11/18/2017, 5:06 PMevanchooly
11/18/2017, 5:52 PMCzar
11/19/2017, 6:45 PMString#hashCode
for this is a really bad ideahaining
11/20/2017, 2:40 AMthis
argument explicitly as in (String::take)("hello", 3)
or even, what you call the String::take
part?eygraber
11/20/2017, 5:09 AMpappu
11/20/2017, 5:45 AMedwardwongtl
11/20/2017, 7:27 AMoleksiyp
11/21/2017, 7:03 AMecampolo
11/21/2017, 10:54 AMclass Person(email: String) {
var email: String = email
set(value) {
require(value.trim().isNotEmpty(), { "The email cannot be blank" })
field = value
}
init {
require(email.trim().isNotEmpty(), { "The email cannot be blank" })
}
}
I tried with Delegation but feels a little bit complex since I would need to have NotEmptyString , NotEmptyCollection, or any kind of validation. Also I want to avoid those extra objects per property.Xatenev
11/21/2017, 2:20 PMAndrew
11/21/2017, 4:59 PMsxtanna
11/21/2017, 10:19 PMalexcouch
11/21/2017, 10:58 PMgroostav
11/22/2017, 6:43 AMgroostav
11/22/2017, 6:43 AMFré Dumazy
11/22/2017, 8:44 AM