aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2017-08-01 10:48:37 -0700
committerGitHub <noreply@github.com>2017-08-01 10:48:37 -0700
commit7d894be6de118357ec908d2d171b6152ce67307d (patch)
treef34f0676e78433f7f58d6a5bad800430f8e767a0
parent48213d0b427c478865c75fee912ff1ae8bbaffb5 (diff)
downloadkau-7d894be6de118357ec908d2d171b6152ce67307d.tar.gz
kau-7d894be6de118357ec908d2d171b6152ce67307d.tar.bz2
kau-7d894be6de118357ec908d2d171b6152ce67307d.zip
Imagepicker -> mediapicker (#16)3.2.1
* Readme * Fix kau direction bits * Truly support transparent ripples * Update changelog * Test rect as base * Replace fab transition with generic fade scale transition * Add scalexy func * Add scaleXY * Add arguments to fadeScaleTransition * Clean up ink indicator * Create setOnSingleTapListener * Fix lint and add rndColor * Create kotterknife resettables * Add readme and missing objec * Create lazy resettable registered * Update core docs * Opt for separate class for resettable registry * Clean up resettable registry * Rename functions * Add ripple callback listener * Adjust kprefactivity desc color * Add more transitions * Add delete keys option * Add instrumentation tests * switch id * Revert automatic instrumental tests * Generify imagepickercore and prepare video alternative * Create working video picker * Address possible null issue * Update searchview * Make layouts public * Add changelog test * Update logo link * Add custom color gif * Rename imagepicker to mediapicker * Clean up * Fix remaining merge conflicts * Update readme * Update readme
-rw-r--r--README.md4
-rw-r--r--docs/Changelog.md2
-rw-r--r--mediapicker/src/main/AndroidManifest.xml2
-rw-r--r--mediapicker/src/main/kotlin/ca/allanwang/kau/mediapicker/BlurredImageView.kt (renamed from mediapicker/src/main/kotlin/ca/allanwang/kau/imagepicker/BlurredImageView.kt)2
-rw-r--r--mediapicker/src/main/kotlin/ca/allanwang/kau/mediapicker/MediaItem.kt (renamed from mediapicker/src/main/kotlin/ca/allanwang/kau/imagepicker/MediaItem.kt)2
-rw-r--r--mediapicker/src/main/kotlin/ca/allanwang/kau/mediapicker/MediaItemBasic.kt (renamed from mediapicker/src/main/kotlin/ca/allanwang/kau/imagepicker/MediaItemBasic.kt)2
-rw-r--r--mediapicker/src/main/kotlin/ca/allanwang/kau/mediapicker/MediaModel.kt (renamed from mediapicker/src/main/kotlin/ca/allanwang/kau/imagepicker/MediaModel.kt)2
-rw-r--r--mediapicker/src/main/kotlin/ca/allanwang/kau/mediapicker/MediaPickerActivityBase.kt (renamed from mediapicker/src/main/kotlin/ca/allanwang/kau/imagepicker/MediaPickerActivityBase.kt)2
-rw-r--r--mediapicker/src/main/kotlin/ca/allanwang/kau/mediapicker/MediaPickerActivityOverlayBase.kt (renamed from mediapicker/src/main/kotlin/ca/allanwang/kau/imagepicker/MediaPickerActivityOverlayBase.kt)2
-rw-r--r--mediapicker/src/main/kotlin/ca/allanwang/kau/mediapicker/MediaPickerBinder.kt (renamed from mediapicker/src/main/kotlin/ca/allanwang/kau/imagepicker/MediaPickerBinder.kt)2
-rw-r--r--mediapicker/src/main/kotlin/ca/allanwang/kau/mediapicker/MediaPickerCore.kt (renamed from mediapicker/src/main/kotlin/ca/allanwang/kau/imagepicker/MediaPickerCore.kt)2
-rw-r--r--mediapicker/src/main/kotlin/ca/allanwang/kau/mediapicker/MediaType.kt (renamed from mediapicker/src/main/kotlin/ca/allanwang/kau/imagepicker/MediaType.kt)2
-rw-r--r--mediapicker/src/main/res/layout/kau_iitem_image.xml2
-rw-r--r--sample/src/main/kotlin/ca/allanwang/kau/sample/MainActivity.kt5
-rw-r--r--sample/src/main/kotlin/ca/allanwang/kau/sample/MediaPicker.kt (renamed from sample/src/main/kotlin/ca/allanwang/kau/sample/ImagePicker.kt)6
-rw-r--r--sample/src/main/res/xml/kau_changelog.xml6
16 files changed, 21 insertions, 24 deletions
diff --git a/README.md b/README.md
index 9993a9d..9641ae2 100644
--- a/README.md
+++ b/README.md
@@ -55,9 +55,9 @@ dependencies {
# Submodules
(linked to their respective Docs)
-## [Core](core#readme)
+## [Core](core#readme)****
* Collection of extension functions and small helper methods applicable in almost any application.
-* Notable features: KPrefs, Changelog XML, Ripple Canvas, Extensions, Email Builder
+* Notable features: KPrefs, Changelog XML, Kotterknife, Ripple Canvas, Delegates, Lazy Resettables, Extensions, Email Builder
* Includes
[`AppCompat`](https://developer.android.com/topic/libraries/support-library/index.html),
[`Material Dialogs (core)`](https://github.com/afollestad/material-dialogs),
diff --git a/docs/Changelog.md b/docs/Changelog.md
index af26ff9..9a1ec82 100644
--- a/docs/Changelog.md
+++ b/docs/Changelog.md
@@ -12,7 +12,7 @@
* :core: Create lazy resettable registry
* :core: Add more transitions and anims
* :kpref-activity: Reduce alpha color for desc
-* :imagepicker: [breaking] Rename to mediapicker and add support for videos
+* :imagepicker: [breaking] Rename to mediapicker and add support for videos (alpha)
## v3.2.0
* :adapter: Make KauAnimator extensible
diff --git a/mediapicker/src/main/AndroidManifest.xml b/mediapicker/src/main/AndroidManifest.xml
index 89dccc2..01eea84 100644
--- a/mediapicker/src/main/AndroidManifest.xml
+++ b/mediapicker/src/main/AndroidManifest.xml
@@ -1 +1 @@
-<manifest package="ca.allanwang.kau.imagepicker" />
+<manifest package="ca.allanwang.kau.mediapicker" />
diff --git a/mediapicker/src/main/kotlin/ca/allanwang/kau/imagepicker/BlurredImageView.kt b/mediapicker/src/main/kotlin/ca/allanwang/kau/mediapicker/BlurredImageView.kt
index 0dcd7a2..9e83d84 100644
--- a/mediapicker/src/main/kotlin/ca/allanwang/kau/imagepicker/BlurredImageView.kt
+++ b/mediapicker/src/main/kotlin/ca/allanwang/kau/mediapicker/BlurredImageView.kt
@@ -1,4 +1,4 @@
-package ca.allanwang.kau.imagepicker
+package ca.allanwang.kau.mediapicker
import android.content.Context
import android.graphics.Color
diff --git a/mediapicker/src/main/kotlin/ca/allanwang/kau/imagepicker/MediaItem.kt b/mediapicker/src/main/kotlin/ca/allanwang/kau/mediapicker/MediaItem.kt
index 4b70638..3947809 100644
--- a/mediapicker/src/main/kotlin/ca/allanwang/kau/imagepicker/MediaItem.kt
+++ b/mediapicker/src/main/kotlin/ca/allanwang/kau/mediapicker/MediaItem.kt
@@ -1,4 +1,4 @@
-package ca.allanwang.kau.imagepicker
+package ca.allanwang.kau.mediapicker
import android.graphics.drawable.Drawable
import android.support.v7.widget.RecyclerView
diff --git a/mediapicker/src/main/kotlin/ca/allanwang/kau/imagepicker/MediaItemBasic.kt b/mediapicker/src/main/kotlin/ca/allanwang/kau/mediapicker/MediaItemBasic.kt
index 7a1ebf7..4fbe955 100644
--- a/mediapicker/src/main/kotlin/ca/allanwang/kau/imagepicker/MediaItemBasic.kt
+++ b/mediapicker/src/main/kotlin/ca/allanwang/kau/mediapicker/MediaItemBasic.kt
@@ -1,4 +1,4 @@
-package ca.allanwang.kau.imagepicker
+package ca.allanwang.kau.mediapicker
import android.annotation.SuppressLint
import android.app.Activity
diff --git a/mediapicker/src/main/kotlin/ca/allanwang/kau/imagepicker/MediaModel.kt b/mediapicker/src/main/kotlin/ca/allanwang/kau/mediapicker/MediaModel.kt
index c384d48..9188dd6 100644
--- a/mediapicker/src/main/kotlin/ca/allanwang/kau/imagepicker/MediaModel.kt
+++ b/mediapicker/src/main/kotlin/ca/allanwang/kau/mediapicker/MediaModel.kt
@@ -1,4 +1,4 @@
-package ca.allanwang.kau.imagepicker
+package ca.allanwang.kau.mediapicker
import android.database.Cursor
import android.database.SQLException
diff --git a/mediapicker/src/main/kotlin/ca/allanwang/kau/imagepicker/MediaPickerActivityBase.kt b/mediapicker/src/main/kotlin/ca/allanwang/kau/mediapicker/MediaPickerActivityBase.kt
index ee68f42..2ba6b43 100644
--- a/mediapicker/src/main/kotlin/ca/allanwang/kau/imagepicker/MediaPickerActivityBase.kt
+++ b/mediapicker/src/main/kotlin/ca/allanwang/kau/mediapicker/MediaPickerActivityBase.kt
@@ -1,4 +1,4 @@
-package ca.allanwang.kau.imagepicker
+package ca.allanwang.kau.mediapicker
import android.content.Intent
import android.database.Cursor
diff --git a/mediapicker/src/main/kotlin/ca/allanwang/kau/imagepicker/MediaPickerActivityOverlayBase.kt b/mediapicker/src/main/kotlin/ca/allanwang/kau/mediapicker/MediaPickerActivityOverlayBase.kt
index 5161c08..b5da345 100644
--- a/mediapicker/src/main/kotlin/ca/allanwang/kau/imagepicker/MediaPickerActivityOverlayBase.kt
+++ b/mediapicker/src/main/kotlin/ca/allanwang/kau/mediapicker/MediaPickerActivityOverlayBase.kt
@@ -1,4 +1,4 @@
-package ca.allanwang.kau.imagepicker
+package ca.allanwang.kau.mediapicker
import android.os.Build
import android.os.Bundle
diff --git a/mediapicker/src/main/kotlin/ca/allanwang/kau/imagepicker/MediaPickerBinder.kt b/mediapicker/src/main/kotlin/ca/allanwang/kau/mediapicker/MediaPickerBinder.kt
index e423e84..bdd25ba 100644
--- a/mediapicker/src/main/kotlin/ca/allanwang/kau/imagepicker/MediaPickerBinder.kt
+++ b/mediapicker/src/main/kotlin/ca/allanwang/kau/mediapicker/MediaPickerBinder.kt
@@ -1,4 +1,4 @@
-package ca.allanwang.kau.imagepicker
+package ca.allanwang.kau.mediapicker
import android.app.Activity
import android.content.Intent
diff --git a/mediapicker/src/main/kotlin/ca/allanwang/kau/imagepicker/MediaPickerCore.kt b/mediapicker/src/main/kotlin/ca/allanwang/kau/mediapicker/MediaPickerCore.kt
index 4b922f9..255cec4 100644
--- a/mediapicker/src/main/kotlin/ca/allanwang/kau/imagepicker/MediaPickerCore.kt
+++ b/mediapicker/src/main/kotlin/ca/allanwang/kau/mediapicker/MediaPickerCore.kt
@@ -1,4 +1,4 @@
-package ca.allanwang.kau.imagepicker
+package ca.allanwang.kau.mediapicker
import android.Manifest
import android.app.Activity
diff --git a/mediapicker/src/main/kotlin/ca/allanwang/kau/imagepicker/MediaType.kt b/mediapicker/src/main/kotlin/ca/allanwang/kau/mediapicker/MediaType.kt
index c934e04..cfec331 100644
--- a/mediapicker/src/main/kotlin/ca/allanwang/kau/imagepicker/MediaType.kt
+++ b/mediapicker/src/main/kotlin/ca/allanwang/kau/mediapicker/MediaType.kt
@@ -1,4 +1,4 @@
-package ca.allanwang.kau.imagepicker
+package ca.allanwang.kau.mediapicker
import android.net.Uri
import android.provider.MediaStore
diff --git a/mediapicker/src/main/res/layout/kau_iitem_image.xml b/mediapicker/src/main/res/layout/kau_iitem_image.xml
index 9d51d77..ed230dd 100644
--- a/mediapicker/src/main/res/layout/kau_iitem_image.xml
+++ b/mediapicker/src/main/res/layout/kau_iitem_image.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<ca.allanwang.kau.imagepicker.BlurredImageView xmlns:android="http://schemas.android.com/apk/res/android"
+<ca.allanwang.kau.mediapicker.BlurredImageView xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/kau_image"
android:layout_width="match_parent"
diff --git a/sample/src/main/kotlin/ca/allanwang/kau/sample/MainActivity.kt b/sample/src/main/kotlin/ca/allanwang/kau/sample/MainActivity.kt
index 0cc41fb..4c9107c 100644
--- a/sample/src/main/kotlin/ca/allanwang/kau/sample/MainActivity.kt
+++ b/sample/src/main/kotlin/ca/allanwang/kau/sample/MainActivity.kt
@@ -6,8 +6,9 @@ import android.view.Menu
import android.view.MenuItem
import ca.allanwang.kau.about.kauLaunchAbout
import ca.allanwang.kau.email.sendEmail
-import ca.allanwang.kau.imagepicker.kauLaunchMediaPicker
-import ca.allanwang.kau.imagepicker.kauOnMediaPickerResult
+
+import ca.allanwang.kau.mediapicker.kauLaunchMediaPicker
+import ca.allanwang.kau.mediapicker.kauOnMediaPickerResult
import ca.allanwang.kau.kpref.activity.CoreAttributeContract
import ca.allanwang.kau.kpref.activity.KPrefActivity
import ca.allanwang.kau.kpref.activity.KPrefAdapterBuilder
diff --git a/sample/src/main/kotlin/ca/allanwang/kau/sample/ImagePicker.kt b/sample/src/main/kotlin/ca/allanwang/kau/sample/MediaPicker.kt
index eebc5ca..7aac0ef 100644
--- a/sample/src/main/kotlin/ca/allanwang/kau/sample/ImagePicker.kt
+++ b/sample/src/main/kotlin/ca/allanwang/kau/sample/MediaPicker.kt
@@ -1,8 +1,8 @@
package ca.allanwang.kau.sample
-import ca.allanwang.kau.imagepicker.MediaPickerActivityBase
-import ca.allanwang.kau.imagepicker.MediaPickerActivityOverlayBase
-import ca.allanwang.kau.imagepicker.MediaType
+import ca.allanwang.kau.mediapicker.MediaPickerActivityBase
+import ca.allanwang.kau.mediapicker.MediaPickerActivityOverlayBase
+import ca.allanwang.kau.mediapicker.MediaType
/**
* Created by Allan Wang on 2017-07-23.
diff --git a/sample/src/main/res/xml/kau_changelog.xml b/sample/src/main/res/xml/kau_changelog.xml
index b7bb8e4..59d51c2 100644
--- a/sample/src/main/res/xml/kau_changelog.xml
+++ b/sample/src/main/res/xml/kau_changelog.xml
@@ -18,11 +18,7 @@
<item text=":core: Create lazy resettable registry" />
<item text=":core: Add more transitions and anims" />
<item text=":kpref-activity: Reduce alpha color for desc" />
- <item text=":imagepicker: [breaking] Rename to mediapicker and add support for videos" />
- <item text="" />
- <item text="" />
- <item text="" />
- <item text="" />
+ <item text=":imagepicker: [breaking] Rename to mediapicker and add support for videos (alpha)" />
<version title="v3.2.0"/>
<item text=":adapter: Make KauAnimator extensible" />