Skip to content

Commit

Permalink
Merge pull request #994 from mikepenz/develop
Browse files Browse the repository at this point in the history
dev -> main
  • Loading branch information
mikepenz committed Apr 16, 2021
2 parents e80026a + 2396179 commit d3a7ab7
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -48,7 +48,7 @@ It's blazing fast, minimizing the code you need to write, and is easy to extend.

## Latest releases 🛠

- Kotlin | [v5.4.0](https://github.com/mikepenz/FastAdapter/tree/v5.4.0)
- Kotlin | [v5.4.1](https://github.com/mikepenz/FastAdapter/tree/v5.4.1)
- Java && AndroidX | [v3.3.1](https://github.com/mikepenz/FastAdapter/tree/v3.3.1)
- Java && AppCompat | [v3.2.9](https://github.com/mikepenz/FastAdapter/tree/v3.2.9)

Expand Down
4 changes: 2 additions & 2 deletions build.gradle
Expand Up @@ -4,8 +4,8 @@ buildscript {

ext {
release = [
versionName: "5.4.0",
versionCode: 5040
versionName: "5.4.1",
versionCode: 5041
]

setup = [
Expand Down
Expand Up @@ -38,8 +38,8 @@ internal fun <R> IItem<out RecyclerView.ViewHolder>?.ifExpandable(block: (IExpan
}

/** Internal helper function to execute the block if the item is expandable */
internal fun <R> IItem<out RecyclerView.ViewHolder>?.ifExpandableParent(block: (IExpandable<*>, IParentItem<*>) -> R): R? {
return (this as? IExpandable<*>)?.parent?.let {
internal fun <R> IItem<out RecyclerView.ViewHolder>?.ifExpandableParent(block: (ISubItem<*>, IParentItem<*>) -> R): R? {
return (this as? ISubItem<*>)?.parent?.let {
block.invoke(this, it)
}
}
Expand Down

0 comments on commit d3a7ab7

Please sign in to comment.