aboutsummaryrefslogtreecommitdiff
path: root/imagepicker/README.md
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2017-07-22 16:08:08 -0700
committerGitHub <noreply@github.com>2017-07-22 16:08:08 -0700
commit61d87976e8b29ed25061ae98743a6cf4f4274542 (patch)
treefa4d9bca5fe1b9478ba2f1cc1e6c7d8d18bf15ce /imagepicker/README.md
parent8f2b5ac043f47cc44f43c3788d1377083fb339a2 (diff)
downloadkau-61d87976e8b29ed25061ae98743a6cf4f4274542.tar.gz
kau-61d87976e8b29ed25061ae98743a6cf4f4274542.tar.bz2
kau-61d87976e8b29ed25061ae98743a6cf4f4274542.zip
Support sdk 19 where possible and add image picker (#10)3.0
* Fix plural * Switch to long * Test plural again * Comment * Major update to image picker and view utils * Make image activity full screen * Update min sdk and prefix * Lower sdk requirement and make string private * Bring kpref activity to sdk 19
Diffstat (limited to 'imagepicker/README.md')
-rw-r--r--imagepicker/README.md20
1 files changed, 19 insertions, 1 deletions
diff --git a/imagepicker/README.md b/imagepicker/README.md
index 7fb185c..055b1c5 100644
--- a/imagepicker/README.md
+++ b/imagepicker/README.md
@@ -1,3 +1,21 @@
# KAU :imagepicker
-WIP \ No newline at end of file
+ImagePicker is a beautiful gallery activity that allows you to pick images
+from your storage. It is backed by FastAdapter and Glide, and offers blur and fade transitions.
+
+`ImagePickerActivity` is already fully functional, so you may directly add it to your manifest.
+However, you can also extend it to change the package name.
+
+You may also easily launch the activity through the simple binder:
+```
+Activity.kauLaunchImagePicker(YourClass::class.java, yourRequestCode)
+```
+
+If you are using the built in activity, you may omit the class argument.
+
+Note that this launches the activity through a `startActivityForResult` call
+
+You may get the activity response by overriding your `onActivityResult` method
+to first verify that the request code matches and then call `kauOnImagePickerResult`
+
+This module also has a template style `Kau.ImagePicker` that defaults to a slide up animation. \ No newline at end of file