Adjacent Files

Project Info

. > app > src > main > java > me > jfenn > alarmio > data > preference > BasePreferenceData.kt

BasePreferenceData<V

Type: abstract class

A preference item to display and bind values of preferences as a settings item.

getViewHolder

Type: abstract fun

Create a ViewHolder instance for the item to use.

Parameter Name Description
inflater The LayoutInflater to inflate the layout from.
parent The parent view to be inflated into.

Returned Value: A non-null instance of a ViewHolder.

bindViewHolder

Type: abstract fun

Bind the item data to its viewholder.

Parameter Name Description
holder The ViewHolder to bind the item’s data to.

ViewHolder

Type: open class

Holds child views of the current item.