Android Part-I
Sign in to Google to save your progress. Learn more
You need to remove an Event based on it;s id from your API, Which code snippet defines that request in Retrofit? *
1 point
 When will an activity's onActivityResult()be called? *
1 point
You launch your app, and when you navigate to a new screen it crashes, Which action will NOT help you diagnose the issue? *
1 point
IF the main thread is blocked for too long, the system displays the _ dialog? *
1 point
When would you use a product flavour in your build setup? *
1 point
Given the definition below. how would you get access a TextView with an ID of text_home contained in thr layout file of a Fragment class? *
1 point
Which XML attribute should be used to make an Image View accessible? *
1 point
Why do you use the AndroidJUnitRunner when running UI tests? *
1 point
What is the benifit of using @VisibleForTesting annotation? *
1 point
20. Why is it problematic to define sizes using pixels on Android? *
1 point
What allows you to properly restore a user's state when an activity is restarted? *
1 point
The Android system kills process when it needs to free up memory. The likelihood of the system killing a given process depends on the state of the process and the activity at the time. With combination of process and activity state is most likely to be killed? *
1 point
To add features, components, and permissions to your Android app, which file needs to be edited? *
1 point
You want to include about and setting modules in your project. Which files accurately reflects their inclusion? *
1 point
19. How would you retrieve the value of a user's email from SharedPreferences while ensuring that the returned value is not null? *
1 point
How would you specify in your build.gradle file that your app required at least API level 21 to run, but that it can be tested on API level 28? *
1 point
Why might push notifications stop working? *
1 point
Given the fragment below, how would you get access to a TextView with an ID of text_home contained in the layout file of a Fragment class? *
1 point
Captionless Image
Submit
Clear form
This content is neither created nor endorsed by Google.