mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2025-03-17 19:58:57 +03:00
Avoid lateinit
This commit is contained in:
parent
10b39ccd28
commit
da407ef8a2
1 changed files with 1 additions and 5 deletions
|
@ -32,13 +32,9 @@ class PollOptionItem @JvmOverloads constructor(
|
|||
defStyleAttr: Int = 0
|
||||
) : ConstraintLayout(context, attrs, defStyleAttr) {
|
||||
|
||||
private lateinit var views: ItemPollOptionBinding
|
||||
private val views: ItemPollOptionBinding
|
||||
|
||||
init {
|
||||
setupViews()
|
||||
}
|
||||
|
||||
private fun setupViews() {
|
||||
inflate(context, R.layout.item_poll_option, this)
|
||||
views = ItemPollOptionBinding.bind(this)
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue