https://kotlinlang.org logo
k

kevinmost

06/14/2016, 6:38 PM
The formatting I chose there might look a bit awkward in situations where there's only one modifier/decorator on
constructor
though. The question is, do we still need a newline after
@JvmOverloads
here?
Copy code
class FooView
@JvmOverloads
constructor(
        context: Context,
        attrs: AttributeSet? = null,
        defStyle: Int = 0
) : LinearLayout(context, attrs, defStyle),
        SomeInterface1,
        SomeInterface2 {

    init {
        
    }

}