Android Kotlin fundamentals quiz Return to pathway You can create an emulator to simulate the configuration of a particular type of Android device using a tool like ___. Theme Editor Android SDK Manager AVD Manager Virtual Editor Fill-in-the-blanks Enter one or more words to complete the sentence. A ___ ___ is a method that is invoked each time the user clicks or taps on a clickable UI element, such as a button. What parameter specifies the Android API level that Gradle should use to compile your app? minSdkVersion compileSdkVersion targetSdkVersion testSdkVersion True or false? Scroll view can contain only one view, or view group, as a child. True False You can show or hide a view in your app by setting its visibility. Which of the following are valid visibility values? Choose as many answers as you see fit. VISIBLE GONE CLEAR INVISIBLE NONE Fill-in-the-blanks Enter one or more words to complete the sentence. A ___ is a group of views that are linked together with bidirectional constraints. What phrase means that the compiler validates types while compiling? Type safety Data binding Type validation Wrong text Which of the following is not true about fragments? A fragment has its own lifecycle and receives its own input events. It is not possible to remove a fragment while the activity is running. A fragment is defined in a Kotlin class. A fragment's UI is defined in an XML layout file. Fill-in-the-blanks Enter one or more words to complete the sentence. The ___ ___ is a dedicated space for app branding and identity. Fill-in-the-blanks Enter one or more words to complete the sentence. The ___ ___ plugin of the Navigation component makes passing parameters between fragments safer. Which of the following are methods in the activity and fragment lifecycles? Select all that apply. Choose as many answers as you see fit. onCreate() onDraw() onClick() onStart() onPause() True or false? When your app goes into the background, it's not guaranteed to be destroyed. It may only be stopping and waiting for the user to return to it. True False Fill-in-the-blanks Enter one or more words to complete the sentence. A ___ holds data to be displayed in a fragment or activity, and it can do simple calculations and transformation on data to prepare the data to be displayed by the UI controller. ___ is a way to restrict direct access to some of an object’s fields. Score LiveData Encapsulation GameViewModel Fill-in-the-blanks Enter one or more words to complete the sentence. A(n) ___ represents an object or concept, and its properties, to store in a database. To keep the UI running smoothly, use ___ for long-running tasks, such as all database operations. coroutines ViewModels returns managed threads True or false? When used, the enabled attribute determines if a view is visible. True False Fill-in-the-blanks Enter one or more words to complete the sentence. When a user scrolls through a large list, ___ figures out what new items should be on the screen and does just enough work to display those items. A ___ represents, by default, the items in a row or column when using GridLayout. grid layout list span Fill-in-the-blanks Enter one or more words to complete the sentence. When using RecyclerView, you should handle clicks in the ___ because it has access to the data and logic for determining what needs to happen in response to the click. Which of the following are Android RecyclerView layout managers? Select all that apply. Choose as many answers as you see fit. GridLayoutManager RecyclingManager LinearLayoutManager CircularLayoutManager Submit answers error_outline An error occurred when grading the quiz. Please try again.