aboutsummaryrefslogtreecommitdiff
path: root/sample
diff options
context:
space:
mode:
Diffstat (limited to 'sample')
-rw-r--r--sample/build.gradle1
-rw-r--r--sample/src/main/kotlin/ca/allanwang/kau/sample/PermissionCheckbox.kt4
-rw-r--r--sample/src/main/res/xml/kau_changelog.xml5
3 files changed, 7 insertions, 3 deletions
diff --git a/sample/build.gradle b/sample/build.gradle
index fd07da1..a39ee2d 100644
--- a/sample/build.gradle
+++ b/sample/build.gradle
@@ -7,6 +7,7 @@ apply plugin: 'kotlin-android-extensions'
//apply plugin: 'com.bugsnag.android.gradle'
apply plugin: 'com.github.triplet.play'
apply plugin: 'dagger.hilt.android.plugin'
+apply plugin: 'com.mikepenz.aboutlibraries.plugin'
play {
serviceAccountCredentials = file('../files/gplay-keys.json')
diff --git a/sample/src/main/kotlin/ca/allanwang/kau/sample/PermissionCheckbox.kt b/sample/src/main/kotlin/ca/allanwang/kau/sample/PermissionCheckbox.kt
index 50cfe69..7bd2851 100644
--- a/sample/src/main/kotlin/ca/allanwang/kau/sample/PermissionCheckbox.kt
+++ b/sample/src/main/kotlin/ca/allanwang/kau/sample/PermissionCheckbox.kt
@@ -41,7 +41,7 @@ import com.mikepenz.fastadapter.listeners.EventHook
class PermissionCheckbox(val permission: String) : KauIItem<PermissionCheckbox.ViewHolder>(
R.layout.permission_checkbox, { ViewHolder(it) }) {
- override fun bindView(holder: ViewHolder, payloads: MutableList<Any>) {
+ override fun bindView(holder: ViewHolder, payloads: List<Any>) {
super.bindView(holder, payloads)
holder.text.text = permission
holder.checkbox.isChecked = holder.itemView.context.hasPermission(permission)
@@ -72,7 +72,7 @@ class PermissionCheckboxViewBinding(
override fun PermissionCheckboxBinding.bindView(
holder: ViewHolder,
- payloads: MutableList<Any>
+ payloads: List<Any>
) {
permText.text = data.permission
permCheckbox.apply {
diff --git a/sample/src/main/res/xml/kau_changelog.xml b/sample/src/main/res/xml/kau_changelog.xml
index a40e70e..a7208ea 100644
--- a/sample/src/main/res/xml/kau_changelog.xml
+++ b/sample/src/main/res/xml/kau_changelog.xml
@@ -6,11 +6,14 @@
<item text="" />
-->
+ <version title="v6.0.0" />
+ <item text="Add support for Android 4.1.x" />
+ <item text="Add major version library updates (FastAdapter, AboutLibrary, Iconics)" />
+
<version title="v5.3.0" />
<item text=":about: Moved config builder inside activity" />
<item text=":color: Allow option to disable selected ring" />
<item text=":core: Breaking KPref changes; see migration" />
- <item text="" />
<version title="v5.2.0" />
<item text=":about: Migrate about libraries to v7.x.x" />