Konstantin Petrukhnov
05/03/2018, 10:21 AMursus
05/06/2018, 2:19 AMursus
05/06/2018, 12:11 PMhalirutan
05/07/2018, 5:29 AMif (element is SetDelayed || element is TagSetDelayed || element is Set || element is Condition)
halirutan
05/08/2018, 2:09 AMlistOf
solution and it didn't work because of inheritance. Well, I guess then the simple is
solution is directly readable and I stick to this. Thanks for your efforts 🙂dave08
05/08/2018, 1:02 PMbjonnh
05/10/2018, 12:08 AM@Serializable
data class DataPoint (
val name: String,
val value: Double
)
Daniel
05/10/2018, 7:49 AMAmadiro
05/11/2018, 4:09 PMAyden
05/13/2018, 1:24 AMAndreas Sinz
05/14/2018, 8:51 PMBox<T>
is invariant, that means Box<Int>
is not a subtype of Box<Number>
https://proandroiddev.com/understanding-generics-and-variance-in-kotlin-714c14564c47jlepper
05/15/2018, 10:08 PMholgerbrandl
05/16/2018, 6:41 AMopen
you would need to write ) : String()
to call its constructor. The ()
are not necessary when implementing an interface.Hamza
05/17/2018, 3:17 PMxenoterracide
05/17/2018, 11:22 PMManoj
05/18/2018, 1:39 PMkarelpeeters
05/19/2018, 7:39 AMx
.Tyler
05/22/2018, 3:29 PMval i = Intent(this, ExampleJavaClass::class.java)
menegatti
05/24/2018, 7:08 AMarekolek
05/24/2018, 1:53 PMBar.() -> Unit
@menegattirook
05/25/2018, 7:38 PMwhen(e) {
is String, Int -> /*do stuff*/
}
It doesn’t appear that I can accomplish the above. Is that correct?Hamza
05/27/2018, 2:46 AMoperator fun invoke(args: EmbedDSLHandle.() -> Unit) {}
Hamza
05/27/2018, 2:46 AMJaval
05/27/2018, 2:21 PMKrizzu
05/29/2018, 8:19 AMInt.() -> Unit
. I get it’s a function, but this ClassName + dot
is strange for meManthan
05/29/2018, 1:50 PMB_P
05/31/2018, 7:36 AMRak
05/31/2018, 9:56 AMAndreas Sinz
05/31/2018, 12:21 PMfun changeName(first, last)
otakusenpai
05/31/2018, 12:29 PM