What is a potential drawback of not using a ViewModel in an Android application? Question 6Select one: a. The UI state might be lost during configuration changes b. The application might crash during screen rotations c. The activity might not display correctly on different screen sizes d. The application might not respond to user inputs
Added by William G.
Step 1
A ViewModel is designed to store and manage UI-related data in a lifecycle-conscious way, allowing data to survive configuration changes such as screen rotations. Show more…
Show all steps
Your feedback will help us improve your experience
Armani Willis and 57 other AP CS educators are ready to help you.
Ask a new question
Labs
Want to see this concept in action?
Explore this concept interactively to see how it behaves as you change inputs.
Key Concepts
Recommended Videos
Mobile banking has become an essential mobile application due to the lockdown situation of the country. Almost all money transactions can be handled through these mobile applications. Select the incorrect statement about this type of apps, from the following list.Select one or more:a. The app should automatically log off from the online portal due to inactivityb.Security is a major concern when developing these applicationsc. Light and dark color themes can be introduced since the usage of this app can be done at any time of the day.d.The ideal model for this type of application is portrait mode.e.The app should not alloy multiple users to log in.
Armani W.
Which statement does not explain the fragments in android?Select one:a. An activity may contain 0 or multiple numbers of fragments based on the screen size.b. A fragment can be reused in multiple activitiesc. Fragments are used to efficiently use the space in wider screen devices.d. A fragment can't exist independently.e. The fragment lifecycle is not affected by the activity lifecycle.
Aparna S.
What is/are include in the Mobile Context Principle in Interface Design? Select one or more:a. When using the application for a long time. it should not be boring.b. It has to keep communication between user and application about the status.c. The mobile app contains good navigations through the interfaces.d. Mobile app support for some operations in offline even it works with the network connectivity.e. The application should achieve multiple tasks at the same time.
Anand J.
Recommended Textbooks
Computer Science and Information Technology
Introduction to Programming Using Python
Computer Science - An Overview
18,000,000+
Students on Numerade
Trusted by students at 8,000+ universities
Watch the video solution with this free unlock.
EMAIL
PASSWORD