简体   繁体   中英

Xamarin Forms Background Thread

I searched but couldn't find it. That's why I had to ask here. My question is:

I have a thread. While the thread is running and the application is in sleep mode, some android phones terminate the program and thread but some phones don't. What can I do in this situation?

It seems like you need to check your code on different Android versions. Android Documentation stated background api changes.

Also you can look at this question .

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