rCorbellini
04/05/2018, 12:24 PMleosan
04/05/2018, 4:47 PMfun getFoo = ...
to
val foo get() = ...
Damien
04/05/2018, 6:42 PMManjee
04/06/2018, 4:39 AMarekolek
04/06/2018, 11:51 AMIf a class has a member function, and an extension function is defined which has the same receiver type, the same name and is applicable to given arguments, the member always wins.https://kotlinlang.org/docs/reference/extensions.html#extensions-are-resolved-statically
Jeevan
04/06/2018, 2:35 PMSlackbot
04/08/2018, 4:50 AMamanda.hinchman-dominguez
04/09/2018, 3:53 AMAzMoo
04/09/2018, 4:11 AMamanda.hinchman-dominguez
04/09/2018, 4:59 AMJacks0n23
04/09/2018, 2:09 PMdylan
04/09/2018, 2:45 PM@Parcelize
gets generated to? Can't seem to find them in the build folderamanda.hinchman-dominguez
04/09/2018, 3:05 PMTypedArray
, do I need to implement an iterator to be able to loop through it?Tarun
04/10/2018, 9:29 AMcompanion object
, than those variable are treated as static in Java
But when I try to access those variable in a java project, which is using library, It is like :
MyClass.Companion.abcVariable
I searched and found I had to append @JvmStatic in front of variable so that java can access it directly like :
MyClass.abcVariable
This works for classes
but for interfaces
it requires a min API level of 24 and my Min API level is 21
Is there any other way to directly access companion object variables for interface
in API projects supporting min API level less than 24 like :
MyClass.abcVariable
moetouban
04/10/2018, 11:33 AMVar-property type is "X" which is not a type of overridden ?
chrbongardt
04/10/2018, 4:29 PMadams2
04/10/2018, 9:18 PMfragment
forget what got put in its setListener
Tudor Luca
04/11/2018, 7:39 AMIvan Podhornyi
04/11/2018, 5:57 PMgildor
04/12/2018, 8:11 AMKevin Janvier Chinabalire
04/12/2018, 5:08 PMspierce7
04/12/2018, 6:16 PMDaniel
04/12/2018, 6:42 PMQverkk
04/12/2018, 7:09 PMhttps://i.imgur.com/Kmi8Udb.png▾
memphis
04/13/2018, 9:52 AMrudolf.hladik
04/13/2018, 2:19 PMnitrog42
04/16/2018, 3:23 PMSlackbot
04/16/2018, 4:27 PMcrazdrms
04/16/2018, 5:46 PM