When is it desirable to kill the foreground activity?

devquora
devquora

Posted On: Feb 22, 2018

 

Terminating or killing the foreground activity is the last and final savior. It is generally desirable or is the best time to kill this activity when it is consuming too much of memory. When the memory paging state is reached by the activity, it is killed so that the interface can sustain the responsiveness of the user of the application.

    Related Questions

    Please Login or Register to leave a response.

    Related Questions

    Android Interview Questions

    What is Android?

    Android, built on the Linux kernel, is an open-source operating system used in smartphones and tablets. Its high-performance components empower developers to create and execute apps with diverse funct..

    Android Interview Questions

    What are the Android application components?

    Android application components, including Activities, Services, Broadcast Receivers, and Content Providers, form the foundational elements of Android apps. These components facilitate various function..

    Android Interview Questions

    What does Fragment mean?

    Fragments in Android represent modular UI components within a FragmentActivity. They enable the creation of flexible and reusable UIs by combining multiple fragments within a single activity. Each fra..