What happens if you code a task that takes several seconds to run on the UI thread?

What happens if you code a task that takes several seconds to run on the UI thread?









a. the user interface cancels the task
b. the user interface runs the task in a separate thread
c. the user interface becomes unresponsive
d. the user interface automatically displays a progress bar










Answer: C


Android

Learn More Multiple Choice Question :