Support cache cleanup in android-compiler-plugin
This commit is contained in:
+12
@@ -0,0 +1,12 @@
|
||||
package com.myapp
|
||||
|
||||
import android.app.Activity
|
||||
import android.os.Bundle
|
||||
import java.io.File
|
||||
import kotlinx.android.synthetic.*
|
||||
|
||||
public fun Activity.a() {
|
||||
clearFindViewByIdCache()
|
||||
}
|
||||
|
||||
// 0 clearFindViewByIdCache
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent" />
|
||||
Reference in New Issue
Block a user