Closed vivchik1337 closed 3 years ago
Try to replace 'SociableView' class with 'SocialView'
@CripyIce it`s not working. Nothing happend when I click
@CripyIce Yes it should be SocialView
. I named it SociableView
following Android's own naming convention for Java interfaces that must have their implementation in Java class. But since Kotlin, its interface is much more powerful than Java's (allowing more codebase in interface), that pattern seem to be obsolete so it is now SocialView
.
@sfucko About that click listener doing nothing, I need to know several things:
MovementMethod
to that TextView
?Anyway, Unit
is Kotlin's equivalent of Java's Void
type, so you should return null on that Function2
.
Closed due to inactivity.
Hello, SociableView.class from import com.hendraanggrian.socialview.SociableView is missed. So I can`t do onMentionClickListener, because I need this class.