Using one line per parameter for the custom view
This commit is contained in:
parent
840a224c9f
commit
d1aba46b52
@ -24,7 +24,9 @@ import androidx.constraintlayout.widget.ConstraintLayout
|
|||||||
import im.vector.app.databinding.ViewLocationLiveStatusBinding
|
import im.vector.app.databinding.ViewLocationLiveStatusBinding
|
||||||
|
|
||||||
class LocationLiveStatusView @JvmOverloads constructor(
|
class LocationLiveStatusView @JvmOverloads constructor(
|
||||||
context: Context, attrs: AttributeSet? = null, defStyleAttr: Int = 0
|
context: Context,
|
||||||
|
attrs: AttributeSet? = null,
|
||||||
|
defStyleAttr: Int = 0
|
||||||
) : ConstraintLayout(context, attrs, defStyleAttr) {
|
) : ConstraintLayout(context, attrs, defStyleAttr) {
|
||||||
|
|
||||||
private val binding = ViewLocationLiveStatusBinding.inflate(
|
private val binding = ViewLocationLiveStatusBinding.inflate(
|
||||||
|
Loading…
Reference in New Issue
Block a user