mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-13 00:21:28 +00:00
12 lines
453 B
Kotlin
Vendored
12 lines
453 B
Kotlin
Vendored
// INTENTION_TEXT: Surround with if (VERSION.SDK_INT >= VERSION_CODES.LOLLIPOP) { ... }
|
|
// INSPECTION_CLASS: org.jetbrains.android.inspections.klint.AndroidLintInspectionToolProvider$AndroidKLintNewApiInspection
|
|
|
|
import android.app.Activity
|
|
import android.graphics.drawable.VectorDrawable
|
|
|
|
data class ValueProvider(var p1: VectorDrawable, val p2: Int)
|
|
|
|
val activity = Activity()
|
|
fun foo() {
|
|
val (v1, v2) = ValueProvider(<caret>VectorDrawable(), 0)
|
|
} |