Implement quickfixes for Android Lint api issues
#KT-16624 Fixed #KT-16625 Fixed #KT-14947 Fixed
This commit is contained in:
+7
@@ -0,0 +1,7 @@
|
||||
package com.myapp;
|
||||
|
||||
public final class R {
|
||||
public static final class string {
|
||||
public static final int my_activity_title = 0x7f060021;
|
||||
}
|
||||
}
|
||||
Vendored
+4
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"isApplicable": false,
|
||||
"intentionText": "Create string value resource 'my_activity_title'"
|
||||
}
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
import android.content.Context
|
||||
import com.myapp.R
|
||||
|
||||
fun Context.getActivityTitle() = getString(R.string.<caret>my_activity_title)
|
||||
|
||||
Reference in New Issue
Block a user