Services
Discover
Homeschooling
Ask a Question
Log in
Sign up
Filters
Done
Question type:
Essay
Multiple Choice
Short Answer
True False
Matching
Topic
Certification
Study Set
Google
Exam 7: Google Analytics Individual Qualification
Path 4
Access For Free
Share
All types
Filters
Study Flashcards
Practice Exam
Learn
Question 1
Multiple Choice
In our TeaViewModel class, that extends ViewModel , we have such prorerty: val tea: LiveData<Tea> An observer in our Activity (type of mViewModel variable in example is ) is set in this way: mViewModel!!. tea .observe(this, Observer { tea: Tea? -> displayTea(tea) } ) What will be a correct displayTea method definition?
Question 2
Multiple Choice
If you want the Database Inspector to automatically update the data it presents as you interact with your running app, check the Live updates checkbox at the top of the inspector window. While live updates are enabled, what happens with the table in the inspector window?
Question 3
Multiple Choice
What happens when you create a DAO method and annotate it with @Insert? Example: @Dao interface MyDao { @Insert(onConflict = OnConflictStrategy.REPLACE) Fun insertUsers(vararg users: User) }
Question 4
Multiple Choice
The Log class allows you to create log messages that appear in logcat. Generally, you could use the following log methods: (Choose five.)
Question 5
Multiple Choice
When your code execution reaches the breakpoint, Android Studio pauses execution of your app. You can then use the tools in the Debugger tab to identify the state of the app. With Step Into
you can
Question 6
Multiple Choice
With a room database. When performing queries, you'll often want your app's UI to update automatically when the data changes. Can you use a return value of type LiveData in your query method description to achieve this?
Question 7
Multiple Choice
To automate UI tests with Android Studio, you implement your test code in a separate Android test folder. Folder could be named:
Question 8
Multiple Choice
What do you want from Room when you create a DAO method and annotate it with @Delete? Example: @Dao Interface MyDao { @Delete Fun deleteUsers(vararg users: User) }
Question 9
Multiple Choice
Filter logcat messages. If in the filter menu, a filter option "Show only selected application"? means
Question 10
Multiple Choice
When your code execution reaches the breakpoint, Android Studio pauses execution of your app. You can then use the tools in the Debugger tab to identify the state of the app. With Step Out
you can
Question 11
Multiple Choice
Once your test has obtained a UiObject object, you can call the methods in the UiObject class to perform user interactions on the UI component represented by that object. You can specify such actions as: (Choose four.)
Question 12
Multiple Choice
For example, we have a file in our raw folder app/src/main/res/raw/sample_teas.json . To get an InputStream for reading it, from out Context context, we can do this:
Question 13
Multiple Choice
What is illustrated in the picture?
Question 14
Multiple Choice
For example, we have a file in our assets folder app/src/main/assets/sample_teas.json . To get an I nputStream for reading it, from out Context context, we can try do this:
Question 15
Multiple Choice
If you want to access a specific UI component in an app, use the UiSelector class. This class represents a query for specific elements in the currently displayed UI. What is correct about it? (Choose two.)