robinchew
08/03/2017, 3:26 AMcedric
08/03/2017, 3:27 AMcedric
08/03/2017, 3:27 AMrobinchew
08/03/2017, 3:27 AMMarc
08/03/2017, 9:45 AMcase x :: xs => println(x + " " + xs)
dragas
08/03/2017, 1:25 PMxor
, and
and or
methods change the caller or do they return a new object?karelpeeters
08/03/2017, 1:26 PMkarelpeeters
08/03/2017, 1:26 PMdragas
08/03/2017, 1:28 PMferoz_baig
08/03/2017, 2:38 PMBaseActivity
having abstract method initToolbarAndProgressBar()
, how can I implement this method in the child KOTLIN class ?menegatti
08/03/2017, 2:38 PMmenegatti
08/03/2017, 2:38 PMferoz_baig
08/03/2017, 2:39 PMmenegatti
08/03/2017, 2:39 PMclass Child : BaseActivity
feroz_baig
08/03/2017, 2:40 PMmenegatti
08/03/2017, 2:41 PMferoz_baig
08/03/2017, 2:41 PMmenegatti
08/03/2017, 2:41 PMprivate
modifier works in this scenariomenegatti
08/03/2017, 2:42 PMferoz_baig
08/03/2017, 2:42 PMdiesieben07
08/03/2017, 2:50 PMprivate
? If you do not want a method to be overridden, final
is the modifier you want in Java.menegatti
08/03/2017, 2:54 PMprivate
is the right approach. But you're right, if we're talking exclusively about overriding something final
is the way to gotipsy
08/03/2017, 3:25 PMobj.apply{}
on a java-object, but it seems doing obj.apply{ name = "Alice" }
only works if there is a setName
and a getName
.. why is that?orangy
name += "!"
tipsy
08/03/2017, 3:26 PMtipsy
08/03/2017, 3:27 PMorangy
obj.apply { setName("Alice") }
then?tipsy
08/03/2017, 3:27 PMtipsy
08/03/2017, 3:28 PMorangy
name(String s)
instead of setName
?