add comment about which types should be supported

This commit is contained in:
Aria Moradi
2021-07-31 08:35:56 +04:30
parent 30787846a2
commit 3d69348301
@@ -59,6 +59,13 @@ object Source {
private val context by DI.global.instance<CustomContext>()
/**
* Clients should support these types for extensions to work properly (in order of importance)
* - EditTextPreference
* - SwitchPreferenceCompat
* - ListPreference
* - CheckBoxPreference
*/
data class PreferenceObject(
val type: String,
val props: Any