jkcclemens
10/02/2015, 2:30 AMnastelaz
10/02/2015, 9:35 AMandrewoma
10/02/2015, 9:47 AMderkork
10/02/2015, 12:09 PMusing Foo=Example.Foo;
in kotlin?derkork
10/02/2015, 12:10 PMimport java.util.List as MyList
yole
10/02/2015, 12:10 PMderkork
10/02/2015, 12:10 PMderkork
10/02/2015, 12:10 PMyoavst
10/02/2015, 12:26 PMyole
10/02/2015, 12:42 PMjkcclemens
10/02/2015, 1:58 PMjkcclemens
10/02/2015, 2:02 PMyole
10/02/2015, 2:07 PMjkcclemens
10/02/2015, 2:09 PMyole
10/02/2015, 3:06 PMjkcclemens
10/02/2015, 3:42 PMjkcclemens
10/02/2015, 3:47 PMpakoito
10/03/2015, 12:30 AMevanchooly
10/03/2015, 12:37 AMyoavst
10/03/2015, 10:31 AMmenuId to (menuId != 0)
returns (2131689474, false)
. WTF?yoavst
10/03/2015, 10:32 AMprotected open val menuId: Int = 0
, but in the implementation class it is override val menuId: Int = R.menu.timetable
. The call is from the abstract.yoavst
10/03/2015, 10:33 AMorangy
kittinunf
10/03/2015, 3:26 PMval a = listOf(1, 2).map(String::init)
orangy
orangy
adeln
10/03/2015, 3:32 PMhastebrot
10/03/2015, 4:21 PMconst
is so far only intended to be used together with annotations. I also started to use them as a replacement of Java's static final
fields, but define them on file-level. Does this make sense, or are const
totally not intended for this use-case?yoavst
10/03/2015, 4:37 PMconst
is only available for string and numeric types.hastebrot
10/03/2015, 4:47 PMconst val int = 1
const val long = 1L
const val float = 1F
const val double = 1.2
const val string = "foo"
const val bool = false