如何在不调用super.onCreate的情况下覆盖onCreate方法

-5 android

我是android的新手.我的问题是如何在onCreate不调用的情况下覆盖方法super.onCreate().如果我这样做,它会给出异常SuperNotCalledException.onCreate没有调用super.onCreate!! 有任何方法可以覆盖方法!! 感谢名单

Com*_*are 6

我的问题是如何在不调用super.onCreate()的情况下覆盖onCreate方法

那是不支持的.请致电super.onCreate(),通常作为您onCreate()实施的第一行.