aboutsummaryrefslogtreecommitdiff
path: root/kpref-activity/README.md
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2017-09-24 16:41:13 -0400
committerAllan Wang <me@allanwang.ca>2017-09-24 16:43:15 -0400
commit1a509b896aa670da4ab3e2f039140ad7608387e9 (patch)
treeedc1bd60d79715a76f1129882f7b8297f27d746f /kpref-activity/README.md
parentcd41bb2917425599fca5d786ea62a2c3253dda70 (diff)
downloadkau-1a509b896aa670da4ab3e2f039140ad7608387e9.tar.gz
kau-1a509b896aa670da4ab3e2f039140ad7608387e9.tar.bz2
kau-1a509b896aa670da4ab3e2f039140ad7608387e9.zip
Feature/kpref time picker (#64)
* Init kpref time builder and open up other builders * Enable self refresh * Add readme * Update changelog * Update readme
Diffstat (limited to 'kpref-activity/README.md')
-rw-r--r--kpref-activity/README.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/kpref-activity/README.md b/kpref-activity/README.md
index a9aac89..69d4892 100644
--- a/kpref-activity/README.md
+++ b/kpref-activity/README.md
@@ -30,6 +30,7 @@ Contract | Mandatory | Optional | Description
`KPrefSeekbarContract` | `NA` | `min` `max` `increments` `toText` `textViewConfigs` | Addtional configurations for a seekbar, as well as text to be displayed on the side.
`KPrefSubItemsContract` | `itemBuilder` | `NA` | Contains a new list for the adapter to load when clicked
`KPrefTextContract` | `NA` | `textGetter` | Additional configurations for the text item
+`KPrefTimeContract` | `NA` | `use24HourFormat` | Additional configurations for time picker
The kpref items are as followed:
@@ -41,6 +42,7 @@ Item | Implements | Description
`header` | `CoreContract` | Header; just a title that isn't clickable
`text` | `CoreContract` `BaseContract` `KPrefTextContract` | Text item; displays the kpref as a String on the right; does not have click implementation by default
`plainText` | `CoreContract` `BaseContract` | Plain text item; like `text` but does not deal with any preferences directly, so it doesn't need a getter or setter
+`timePicker` | `CoreContract` `BaseContract` `KPrefTextContract`, `KPrefTimeContract` | Extension ot `text` that will open and save a time picker
This can be used to display text or deal with preference that are completely handed within the click event (eg a dialog).
`subItems` | `CoreContract` `KPrefSubItemsContract` | Sub items; contains a new page for the activity to load when clicked