aboutsummaryrefslogtreecommitdiff
path: root/sample/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'sample/src/main')
-rw-r--r--sample/src/main/AndroidManifest.xml2
-rw-r--r--sample/src/main/kotlin/ca/allanwang/kau/sample/ImagePickerActivity.kt8
-rw-r--r--sample/src/main/kotlin/ca/allanwang/kau/sample/MainActivity.kt3
-rw-r--r--sample/src/main/res/xml/kau_changelog.xml16
4 files changed, 20 insertions, 9 deletions
diff --git a/sample/src/main/AndroidManifest.xml b/sample/src/main/AndroidManifest.xml
index d041a3e..da26bdf 100644
--- a/sample/src/main/AndroidManifest.xml
+++ b/sample/src/main/AndroidManifest.xml
@@ -29,7 +29,7 @@
android:name=".AboutActivity"
android:theme="@style/Kau.About" />
<activity
- android:name="ca.allanwang.kau.imagepicker.ImagePickerActivity"
+ android:name=".ImagePickerActivity"
android:theme="@style/Kau.ImagePicker" />
<activity
android:name=".AdapterActivity"
diff --git a/sample/src/main/kotlin/ca/allanwang/kau/sample/ImagePickerActivity.kt b/sample/src/main/kotlin/ca/allanwang/kau/sample/ImagePickerActivity.kt
new file mode 100644
index 0000000..8a23192
--- /dev/null
+++ b/sample/src/main/kotlin/ca/allanwang/kau/sample/ImagePickerActivity.kt
@@ -0,0 +1,8 @@
+package ca.allanwang.kau.sample
+
+import ca.allanwang.kau.imagepicker.ImagePickerActivityBase
+
+/**
+ * Created by Allan Wang on 2017-07-23.
+ */
+class ImagePickerActivity : ImagePickerActivityBase() \ No newline at end of file
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 4711701..ecfef04 100644
--- a/sample/src/main/kotlin/ca/allanwang/kau/sample/MainActivity.kt
+++ b/sample/src/main/kotlin/ca/allanwang/kau/sample/MainActivity.kt
@@ -165,7 +165,7 @@ class MainActivity : KPrefActivity() {
}
plainText(R.string.gallery_showcase) {
- onClick = { _, _, _ -> kauLaunchImagePicker(REQUEST_IMAGE); false }
+ onClick = { _, _, _ -> kauLaunchImagePicker(ImagePickerActivity::class.java, REQUEST_IMAGE); false }
}
plainText(R.string.adapter_showcase) {
@@ -235,7 +235,6 @@ class MainActivity : KPrefActivity() {
when (item.itemId) {
R.id.action_settings -> startActivity(AnimActivity::class.java)
R.id.action_email -> sendEmail(R.string.your_email, R.string.your_subject)
- R.id.test -> kauLaunchImagePicker(REQUEST_IMAGE)
else -> return super.onOptionsItemSelected(item)
}
return true
diff --git a/sample/src/main/res/xml/kau_changelog.xml b/sample/src/main/res/xml/kau_changelog.xml
index 488e01b..76aee36 100644
--- a/sample/src/main/res/xml/kau_changelog.xml
+++ b/sample/src/main/res/xml/kau_changelog.xml
@@ -6,18 +6,22 @@
<item text="" />
-->
- <version title="v2.2"/>
- <item text=":imagepicker: Fully implement picker" />
- <item text=":core: [breaking] Replace update[x]Margin to setMargin[x]" />
- <item text=":core: Add setPadding[x]" />
+ <version title="v3.1"/>
+ <item text=":core: Allow for nullable throwables when logging" />
<item text="" />
<item text="" />
<item text="" />
<item text="" />
<item text="" />
<item text="" />
- <item text="" />
-
+
+ <version title="v3.0"/>
+ <item text=":core: Add setPadding[x]" />
+ <item text=":core: [breaking] Replace update[x]Margin to setMargin[x]" />
+ <item text=":imagepicker: Fully implement picker" />
+ <item text="Make resources private where possible" />
+ <item text="Reduce minSdk to 19 where possible" />
+
<version title="v2.1"/>
<item text=":adapter: Fix up CardIItem" />
<item text=":adapter: Modularized kau animators" />