Explain me how can ANR be prevented?

Submitted by: Muhammad
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 tasks of the codes can be placed, so that the main thread runs with minimal periods of unresponsive time.
Submitted by: Muhammad

Read Online Team Leader Android Developer Job Interview Questions And Answers