Associate-Android-Developer Exam Question 16

What is illustrated in the picture?
  • Associate-Android-Developer Exam Question 17

    For example, our preferences.xml file was added by addPreferencesFromResource (R.xml.preferences). Our preferences.xml file contains such item:
    <ListPreference android:id="@+id/order_by" android:key="@string/pref_sort_key" android:title="@string/pref_sort_title" android:summary="@string/pref_sort_summary" android:dialogTitle="@string/pref_sort_dialog_title" android:entries="@array/sort_oder" android:entryValues="@array/sort_oder_value" android:defaultValue="@string/pref_default_sort_value" app:iconSpaceReserved="false" /> In our Fragment, we can dynamically get current notification preference value in this way:
  • Associate-Android-Developer Exam Question 18

    To automate UI tests with Android Studio, you implement your test code in a separate Android test folder. Folder could be named:
  • Associate-Android-Developer Exam Question 19

    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)
    }
  • Associate-Android-Developer Exam Question 20

    What do you want from Room when you create a DAO method and annotate it with @Update?
    Example:
    @Dao
    interface MyDao {
    @Update
    fun updateUsers(vararg users: User)
    }