Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class MyTextView @JvmOverloads constructor(
- context: Context, attrs: AttributeSet? = null, defStyleAttr: Int = 0
- ) : AppCompatTextView(context, attrs, defStyleAttr) {
- private val things = mutableListOf<Thing>()
- override fun setText(text: CharSequence?, type: BufferType?) {
- // things is null
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement