Multiple choice

How does one prevent ANR in an android Application?

  1. Strictly follows functional programming approach to avoid ANR

  2. Ensures to follow top-down and reusable features to avoid ANR

  3. Creates a child thread and place all the actual functionality in it. So, the main thread runs with minimal periods of unresponsive time.

  4. Creates child thread for every small functionality.

  5. None of these

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

 Option 3 is correct.