Support View in android-compiler-plugin
This commit is contained in:
@@ -1,8 +1,9 @@
|
||||
package android.app
|
||||
|
||||
import android.view.View
|
||||
import android.content.Context
|
||||
import android.app.Activity
|
||||
|
||||
abstract class Fragment {
|
||||
abstract fun getView(): View
|
||||
open fun getActivity(): Activity = throw Exception("Function getActivity() is not overridden")
|
||||
open fun getView(): View = throw Exception("Function getView() is not overridden")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user