aboutsummaryrefslogtreecommitdiff
path: root/sample/src
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2020-07-18 18:18:16 -0700
committerGitHub <noreply@github.com>2020-07-18 18:18:16 -0700
commitfd95fb5d4fdbf3d25081cb4f5de101d3edd89731 (patch)
tree9cdda7e1eb087f8507364c8f389f65961ed25066 /sample/src
parentceed2ade66042d45a08767171385124c66255249 (diff)
parent271c72b1fc99cf0862dcae9fdf7310b5ffeb4ddc (diff)
downloadkau-6.0.0.tar.gz
kau-6.0.0.tar.bz2
kau-6.0.0.zip
Merge pull request #257 from AllanWang/versions6.0.0
Diffstat (limited to 'sample/src')
-rw-r--r--sample/src/main/kotlin/ca/allanwang/kau/sample/PermissionCheckbox.kt4
-rw-r--r--sample/src/main/res/xml/kau_changelog.xml5
2 files changed, 6 insertions, 3 deletions
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" />