简体   繁体   中英

Xamarin: OnStop, OnPause, OnDestroy never called

I have breakpoints on all these overrides in my activity and no matter what happens, switching to another activity etc, they are never called?

Am I missing something here?

I am using ActionBarSherlock as my base activity if that matters?

I am not sure which version of mono you are using but this guy fixed his break point problem with a simple mono version change or re install.

Breakpoints not being hit Mono For Android (Monodroid)

How to reinstall mono:

Downgrade Xamarin.Android

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM