diff options
author | Allan Wang <me@allanwang.ca> | 2020-07-18 18:18:16 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-18 18:18:16 -0700 |
commit | fd95fb5d4fdbf3d25081cb4f5de101d3edd89731 (patch) | |
tree | 9cdda7e1eb087f8507364c8f389f65961ed25066 /sample/src/main | |
parent | ceed2ade66042d45a08767171385124c66255249 (diff) | |
parent | 271c72b1fc99cf0862dcae9fdf7310b5ffeb4ddc (diff) | |
download | kau-fd95fb5d4fdbf3d25081cb4f5de101d3edd89731.tar.gz kau-fd95fb5d4fdbf3d25081cb4f5de101d3edd89731.tar.bz2 kau-fd95fb5d4fdbf3d25081cb4f5de101d3edd89731.zip |
Merge pull request #257 from AllanWang/versions6.0.0
Diffstat (limited to 'sample/src/main')
-rw-r--r-- | sample/src/main/kotlin/ca/allanwang/kau/sample/PermissionCheckbox.kt | 4 | ||||
-rw-r--r-- | sample/src/main/res/xml/kau_changelog.xml | 5 |
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" /> |