From 79e53d39fe8b7a4802bc46d101d0f1ac51458e15 Mon Sep 17 00:00:00 2001 From: Tianzhu Qiao Date: Sun, 22 Nov 2020 18:37:10 -0800 Subject: [PATCH] ver 0.3.3 --- README.md | 2 +- form/build.gradle | 2 +- form/src/main/java/com/feiyilin/form/FormViewHolder.kt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index b9594ea..0f3b8dd 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ Add **form** to dependencies in your app's build.gradle: ```gradle dependencies { ... - implementation 'com.feiyilin:form:0.3.2' + implementation 'com.feiyilin:form:0.3.3' } ``` ## 2. Update Activity diff --git a/form/build.gradle b/form/build.gradle index 46bf960..15c9431 100644 --- a/form/build.gradle +++ b/form/build.gradle @@ -15,7 +15,7 @@ ext { siteUrl = 'https://github.com/tianzhuqiao/form' gitUrl = 'https://github.com/tianzhuqiao/form.git' - libraryVersion = '0.3.2' + libraryVersion = '0.3.3' developerId = 'tianzhuqiao' developerName = 'Tianzhu Qiao' diff --git a/form/src/main/java/com/feiyilin/form/FormViewHolder.kt b/form/src/main/java/com/feiyilin/form/FormViewHolder.kt index a7bc7ed..47a4761 100644 --- a/form/src/main/java/com/feiyilin/form/FormViewHolder.kt +++ b/form/src/main/java/com/feiyilin/form/FormViewHolder.kt @@ -244,7 +244,7 @@ open class FormBaseTextViewHolder(inflater: LayoutInflater, resource: Int, paren } } } - valueView?.setOnEditorActionListener { v, actionId, _ -> + valueView?.setOnEditorActionListener { _, actionId, _ -> item?.let { listener?.onEditorAction(it, actionId, this) return@setOnEditorActionListener true