I am a newbie in Kotlin. I am curious about the difference of labeled this
in Kotlin with prefix @
or postfix @
.
I have just seen a code which writes SignInActivity@this
, which seems to work exactly same as this@SignInActivity
.
Are these two exactly the same thing? If not, what is the difference between the two?
I was trying to do some research on *@this
form, but I couldn't find any reference on it. All I could find was this official doc which demonstrates this@*
. It will be nice if anybody could share me with the correct reference I should go to.