ExamGecko
Home / Google / Associate Android Developer / List of questions
Ask Question

Google Associate Android Developer Practice Test - Questions Answers, Page 9

Add to Whishlist

List of questions

Question 81

Report Export Collapse

What do you want from Room when you create a DAO method and annotate it with @Update?

Example:

@Dao

public interface MyDao { @Update

public void updateUsers(User... users); }

Become a Premium Member for full access
  Unlock Premium Member

Question 82

Report Export Collapse

What do you want from Room when you create a DAO method and annotate it with @Delete?

Example:

@Dao

public interface MyDao { @Delete

public void deleteUsers(User... users); }

Become a Premium Member for full access
  Unlock Premium Member

Question 83

Report Export Collapse

In Android 8.0, API level 26, some APIs regarding notification behaviors were moved from Notification to NotificationChannel. For example, what should we use instead of NotificationCompat.Builder.setPriority() for Android 8.0 and higher?

Become a Premium Member for full access
  Unlock Premium Member

Question 84

Report Export Collapse

What method should we use with Notification.Builder to supply a PendingIntent to be sent when the notification is clicked?

Become a Premium Member for full access
  Unlock Premium Member

Question 85

Report Export Collapse

When scheduling unique work, you must tell WorkManager what action to take when there is a conflict. You do this by passing an enum when enquing the work.

For one-time work, you provide an ExistingWorkPolicy, which supports some options for handling the conflict. (Choose four.)

Become a Premium Member for full access
  Unlock Premium Member

Question 86

Report Export Collapse

If you are working with a Builder that creates a PeriodicWorkRequest to run periodically once within the flex period of every interval period. What statement is correct?

Become a Premium Member for full access
  Unlock Premium Member

Question 87

Report Export Collapse

Custom duration in milliseconds as a parameter for the setDuration method is available when you are working with:

Become a Premium Member for full access
  Unlock Premium Member

Question 88

Report Export Collapse

If constant LENGTH_INDEFINITE is used as a parameter for the setDuration method in Snackbar, what will happen?

Become a Premium Member for full access
  Unlock Premium Member

Question 89

Report Export Collapse

What public methods are there in android.widget.Toast.Callback? (Choose two.)

Become a Premium Member for full access
  Unlock Premium Member

Question 90

Report Export Collapse

Which build options in the Build menu to choose to delete all intermediate/cached build files.

Become a Premium Member for full access
  Unlock Premium Member
Total 128 questions
Go to page: of 13
Search

Related questions