Team Leader Android Developer Question:
Explain me how can ANR be prevented?
Answer:
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.
Previous Question | Next Question |
Please explain what is a content provider in android? | Explain me what is a Sticky Intent in android? |