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

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

Add to Whishlist

List of questions

Question 41

Report Export Collapse

To run a debuggable build variant you must use a build variant that includes

Become a Premium Member for full access
  Unlock Premium Member

Question 42

Report Export Collapse

About running a debuggable build variant. Usually, you can just select the default "debug" variant that's included in every Android Studio project (even though it's not visible in the build.gradle file). But if you define new build types that should be debuggable, you must add 'debuggable true' to the build type. Is that mostly true?

Become a Premium Member for full access
  Unlock Premium Member

Question 43

Report Export Collapse

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?

Become a Premium Member for full access
  Unlock Premium Member

Question 44

Report Export Collapse

As an example. Our MutableLiveData<Long> object, named mLapseTime, is not connected to a Room database, etc. How can we change the value in mLapseTime?

Become a Premium Member for full access
  Unlock Premium Member

Question 45

Report Export Collapse

Interface for a callback to be invoked when a shared preference is changed. Interface is named:

Become a Premium Member for full access
  Unlock Premium Member

Question 46

Report Export Collapse

With our Context we can get SharedPreferences with a method, named: getSharedPreferences(String name, int mode). What value can we transfer in a "mode"parameter?

Become a Premium Member for full access
  Unlock Premium Member

Question 47

Report Export Collapse

What statements about InputStreamReader (java.io.InputStreamReader) are correct? (Choose two.)

Become a Premium Member for full access
  Unlock Premium Member

Question 48

Report Export Collapse

In a class extended PreferenceFragmentCompat. What method is used to inflate the given XML resource and add the preference hierarchy to the current preference hierarchy?

Become a Premium Member for full access
  Unlock Premium Member

Question 49

Report Export Collapse

In a class PreferenceFragmentCompat. What method is called during onCreate(Bundle) to supply the preferences for this fragment. And where subclasses are expected to call setPreferenceScreen(PreferenceScreen) either directly or via helper methods such as addPreferencesFromResource(int)?

Become a Premium Member for full access
  Unlock Premium Member

Question 50

Report Export Collapse

In a class PreferenceFragmentCompat. As a convenience, this fragment implements a click listener for any preference in the current hierarchy. So, in what overridden method we can handle that a preference in the tree rooted at this PreferenceScreen has been clicked?

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

Related questions