开发者

Android - super always gets called last?

To handle orientation changes, im overriding:

onConfigurationChanged

But regardless of where I make the call to

super.onConfigurationChanged(config);

The super always gets executed AFTER my code

Is it possible to have code be executed after the super, which is after its rotated?

Edit: I guess there's no way around this. It seems that when you overrid开发者_如何学编程e a function, the super gets executed last no matter what.


set a break point on your super.onConfiguratioNChanged, I highly doubt that "regardless of where [you] put the call" it still calls it last.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜