fun initData() { var classLoader: ClassLoader? = this.getClassLoader() if (classLoader != null) { val t1: TextView = this.createdView() t1.text = "[onCreate] classLoader " + ++i + " : " + classLoader.toString() this.classLoaderRootLayout.addView(t1) while (classLoader!!.parent != null) { classLoader = classLoader.parent val t2: TextView = this.createdView() t2.text = "[onCreate] classLoader " + ++i + " : " + classLoader.toString() this.classLoaderRootLayout.addView(t2) } } }
Initialize the Activity data