[kotlin] crossinline 에 대해 알아보자.
- 코드를 보다보니 이런 녀석을 보았다. inline fun TextView.addTextChangedListener( crossinline beforeTextChanged: ( text: CharSequence?, start: Int, count: Int, after: Int ) -> Unit = { _, _, _, _ -> }, crossinline onTextChanged: ( text: CharSequence?, start: Int, count: Int, after: Int ) -> Unit = { _, _, _, _ -> }, crossinline afterTextChanged: (text: Editable?) -> Unit = {} ): TextWatcher { val textWatcher =..
2020. 8. 5.