setDivider

open fun setDivider(@Nullable divider: Drawable)(source)

Deprecated

Use PreferenceFragmentCompat instead

Sets the Drawable that will be drawn between each item in the list.

Note: If the drawable does not have an intrinsic height, you should also call setDividerHeight.

Parameters

divider

The drawable to use divider