Package com.cheetahdigital.preferences.ui.list
-
Interface Summary Interface Description PreferencesView Extends theListView
This notifies the activity or fragment of the results of the API once the view is called by the Presenter -
Class Summary Class Description PreferencesActivity This activity has a container that showsPreferencesFragment
In order to change this, you may override R.layout.activity_preferences_list Can receive the following intent extras: PREFERENCE_KEY - key for getting intent extras PREFERENCE_NAME - internal name of the preference DOMAIN_LIST - list containing all domain specific preferences USERS_LIST - list containing the user created preferences SELECTED_LIST - list containing the selected preferences IS_MULTI_SELECT - the flag for checking if the list is multi selectPreferencesAdapter List Adapter forPreference
PreferencesFragment<V extends PreferencesView,P extends PreferencesPresenter<V>> This fragment shows a list ofPreference
Can receive the following intent extras: {link #PREFERENCE_NAME} - internal name of the preference {link #SELECTED_LIST} - list containing the selected preferences {link #IS_MULTI_SELECT} - the flag for checking if the list is multi selectIntentKey.PRIMARY_PARAMS
- instance ofPreferencesParams
to usePreferencesPresenter<T extends PreferencesView> This presenter class contains network calls for the Preferences Module.PreferencesViewHolder The View Holder for the list of Preferences Contains all the views to be displayed on each list item and display image if there is an imagePreferenceSwitchViewHolder The view holder for Preference Switch