in Android by
Q:
How can the ANR be prevented?

► Click here to show 1 Answer

0 votes
by

One technique that prevents the Android system from concluding a code that has been responsive for a long period of time is to create a child thread. Within the child thread, most of the actual workings of the codes can be placed, so that the main thread runs with minimal periods of unresponsive times.

Android
Learn More with Madanswer

Related questions

0 votes
asked Jan 23, 2020 in Android by rahuljain1
...