Bladeren bron

KDoc and cleanup

Aidan Follestad 6 jaren geleden
bovenliggende
commit
0972ce0e53
1 gewijzigde bestanden met toevoegingen van 11 en 2 verwijderingen
  1. 11 2
      core/src/main/java/com/afollestad/materialdialogs/internal/list/AdapterPayload.kt

+ 11 - 2
core/src/main/java/com/afollestad/materialdialogs/internal/list/AdapterPayload.kt

@@ -15,5 +15,14 @@
  */
 package com.afollestad.materialdialogs.internal.list
 
-object CheckPayload
-object UncheckPayload
+/**
+ * Used by the single and multi-choice list adapters to selectively bind list items. This
+ * payload indicates that the notified list item should check its toggleable view.
+ */
+internal object CheckPayload
+
+/**
+ * Used by the single and multi-choice list adapters to selectively bind list items. This
+ * payload indicates that the notified list item should uncheck its toggleable view.
+ */
+internal object UncheckPayload