createCheckedSetting

fun createCheckedSetting(context: Context, type: CheckedSetting.ViewType, text: CharSequence?, subtext: CharSequence?): CheckedSetting

Creates a checkable View.

Return

Checkable item.

Parameters

context
type

CheckedSetting.ViewType of the checkable item.

text

Title of the checkable item.

subtext

Summary of the checkable item.