Add compiler tests for support.v4.app.Fragment
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
package android.support.v4.app
|
||||
|
||||
import android.view.View
|
||||
import android.app.Activity
|
||||
|
||||
abstract class Fragment {
|
||||
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