Using one line per parameter for the custom view

This commit is contained in:
Maxime Naturel 2022-03-18 15:58:42 +01:00
parent 840a224c9f
commit d1aba46b52

View File

@ -24,7 +24,9 @@ import androidx.constraintlayout.widget.ConstraintLayout
import im.vector.app.databinding.ViewLocationLiveStatusBinding
class LocationLiveStatusView @JvmOverloads constructor(
context: Context, attrs: AttributeSet? = null, defStyleAttr: Int = 0
context: Context,
attrs: AttributeSet? = null,
defStyleAttr: Int = 0
) : ConstraintLayout(context, attrs, defStyleAttr) {
private val binding = ViewLocationLiveStatusBinding.inflate(