Support cache cleanup in android-compiler-plugin

This commit is contained in:
Yan Zhulanow
2015-03-10 21:08:44 +03:00
parent 93ce3bc2ad
commit 7b39cf4998
25 changed files with 213 additions and 66 deletions
@@ -0,0 +1,14 @@
package com.myapp
import android.app.Activity
import android.os.Bundle
import java.io.File
import kotlinx.android.synthetic.*
public class MyActivity : Activity() {
{clearFindViewByIdCache()}
}
// 5 INVOKEVIRTUAL
// 1 CHECKCAST
// 2 _\$_clearFindViewByIdCache
@@ -0,0 +1,3 @@
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent" />