Projects Alarmio Docs ListPreferenceData

addItem

Type: fun

adds an item to the end of the list

Parameter Name Description
holder the ViewHolder containing the RecyclerView
item the item to add

removeItem

Type: fun

Removes the last item in the list

Parameter Name Description
holder the ViewHolder containing the RecyclerView

ViewHolder

Type: class

Holds child views of the current item.