Skip to content

Commit

Permalink
ver 0.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Tianzhu Qiao committed Nov 19, 2020
1 parent cc874f0 commit 6697c00
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion form/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ ext {
siteUrl = 'https://github.com/tianzhuqiao/form'
gitUrl = 'https://github.com/tianzhuqiao/form.git'

libraryVersion = '0.2.3'
libraryVersion = '0.3.0'

developerId = 'tianzhuqiao'
developerName = 'Tianzhu Qiao'
Expand Down
2 changes: 1 addition & 1 deletion form/src/main/java/com/feiyilin/form/FormItemSection.kt
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ open class FormItemSection(private val visible: Boolean=true): FormItem() {
_itemsVisible.add(count, item)
if (update) {
adapter.activity?.runOnUiThread {
val start = adapter.indexOf(this) ?: -1
val start = adapter.indexOf(this)
if (start != -1) {
adapter.notifyItemInserted(start + itemsVisible.indexOf(item))
}
Expand Down

0 comments on commit 6697c00

Please sign in to comment.