setFragment

open fun setFragment(@Nullable fragment: String)(source)

Sets the class name of a fragment to be shown when this preference is clicked.

Parameters

fragment

The class name of the fragment associated with this preference