mirror of
https://github.com/element-hq/element-android
synced 2024-11-28 13:38:49 +03:00
Code cleanup
This commit is contained in:
parent
dbc17ae515
commit
cac5fb725a
1 changed files with 2 additions and 4 deletions
|
@ -39,9 +39,7 @@ import im.vector.riotx.R
|
||||||
class TextComposerView @JvmOverloads constructor(context: Context, attrs: AttributeSet? = null,
|
class TextComposerView @JvmOverloads constructor(context: Context, attrs: AttributeSet? = null,
|
||||||
defStyleAttr: Int = 0) : ConstraintLayout(context, attrs, defStyleAttr) {
|
defStyleAttr: Int = 0) : ConstraintLayout(context, attrs, defStyleAttr) {
|
||||||
|
|
||||||
interface Callback {
|
interface Callback : ComposerEditText.Callback
|
||||||
fun onRichContentSelected(contentUri: Uri): Boolean
|
|
||||||
}
|
|
||||||
|
|
||||||
var callback: Callback? = null
|
var callback: Callback? = null
|
||||||
|
|
||||||
|
@ -60,7 +58,7 @@ class TextComposerView @JvmOverloads constructor(context: Context, attrs: Attrib
|
||||||
@BindView(R.id.composer_avatar_view)
|
@BindView(R.id.composer_avatar_view)
|
||||||
lateinit var composerAvatarImageView: ImageView
|
lateinit var composerAvatarImageView: ImageView
|
||||||
|
|
||||||
var currentConstraintSetId: Int = -1
|
private var currentConstraintSetId: Int = -1
|
||||||
|
|
||||||
private val animationDuration = 100L
|
private val animationDuration = 100L
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue