RichContentEditText

RichContentEditText

class RichContentEditText

Fields

Name Description
var allowMediaFromKeyboard: Boolean
var isTouching: Boolean

Constructors

<init>

constructor(context: Context)

Parameters

Name Description
context: Context

<init>

constructor(context: Context, attrs: AttributeSet)

Parameters

Name Description
context: Context
attrs: AttributeSet

<init>

constructor(context: Context, attrs: AttributeSet, defStyleAttr: Int)

Parameters

Name Description
context: Context
attrs: AttributeSet
defStyleAttr: Int

Methods

onCreateInputConnection

fun onCreateInputConnection(editorInfo: EditorInfo): InputConnection

Parameters

Name Description
editorInfo: EditorInfo

ReturnValue

Name Description
InputConnection

onTouchEvent

fun onTouchEvent(event: MotionEvent?): Boolean

this touch is override to check if the user scrolling the chat list so uneven opening of the keyboard

Parameters

Name Description
event: MotionEvent?

ReturnValue

Name Description
Boolean

performClick

fun performClick(): Boolean

ReturnValue

Name Description
Boolean