Android: Add intention to generate View constructor convention
Fixes #KT-15150
This commit is contained in:
committed by
Vyacheslav Gerasimov
parent
f74c0950d2
commit
ca86dbee72
@@ -0,0 +1,13 @@
|
||||
// "Add Android View constructors using '@JvmOverloads'" "true"
|
||||
// ERROR: The type has a constructor, and thus must be initialized here
|
||||
|
||||
package android.view
|
||||
|
||||
import android.util.AttributeSet
|
||||
import android.content.Context
|
||||
|
||||
public open class View {
|
||||
constructor(context: Context)
|
||||
constructor(context: Context, attrs: AttributeSet?)
|
||||
constructor(context: Context, attrs: AttributeSet?, defStyleAttr: Int)
|
||||
}
|
||||
Reference in New Issue
Block a user