PreferenceGroupAdapter

Constructors

Link copied to clipboard
constructor(@NonNull preferenceGroup: PreferenceGroup)

Functions

Link copied to clipboard
open fun getItem(position: Int): Preference
Returns the Preference at the given position
Link copied to clipboard
open fun getItemCount(): Int
Link copied to clipboard
open fun getItemId(position: Int): Long
Link copied to clipboard
open fun getItemViewType(position: Int): Int
Link copied to clipboard
Link copied to clipboard
Returns the adapter position of the specified Preference object
Returns the adapter position of the first Preference with the specified key.
Link copied to clipboard
Link copied to clipboard
open fun onBindViewHolder(@NonNull holder: PreferenceViewHolder, position: Int)
Link copied to clipboard
Link copied to clipboard
open fun onPreferenceChange(@NonNull preference: Preference)
Called when this preference has changed.
Link copied to clipboard
Called when this group has added/removed Preference(s).
Link copied to clipboard
Called when this preference has changed its visibility.
Link copied to clipboard