mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-11 15:53:46 +00:00
21 lines
538 B
Kotlin
Vendored
21 lines
538 B
Kotlin
Vendored
package test
|
|
|
|
import android.app.Activity
|
|
import android.app.Fragment
|
|
import android.os.Bundle
|
|
import java.io.File
|
|
import kotlinx.android.synthetic.main.layout.*
|
|
|
|
public class MyActivity : Activity() {
|
|
init { fragm }
|
|
}
|
|
|
|
public class MyFragment : Fragment() {
|
|
init { fragm }
|
|
}
|
|
|
|
// 1 INVOKEVIRTUAL android/app/Activity\.getFragmentManager
|
|
// 1 INVOKEVIRTUAL android/app/Fragment\.getFragmentManager
|
|
// 2 GETSTATIC test/R\$id\.fragm
|
|
// 2 INVOKEVIRTUAL android/app/FragmentManager\.findFragmentById
|
|
// 2 CHECKCAST android/app/Fragment |