Skip to content

Commit

Permalink
ver 0.3.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Tianzhu Qiao committed Nov 21, 2020
1 parent 68dc777 commit 55b1ea7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Add **form** to dependencies in your app's build.gradle:
```gradle
dependencies {
...
implementation 'com.feiyilin:form:0.3.1'
implementation 'com.feiyilin:form:0.3.2'
}
```
## 2. Update Activity
Expand Down Expand Up @@ -56,7 +56,7 @@ class MainActivity : FormActivity() {
```
Or check [FormActivity](./form/src/main/java/com/feiyilin/form/FormActivity.kt) if you want to use **FormRecyclerAdapter** directly in the activity.

**Ver 0.3** supports section. It is a breaking change. Check branch **0.2.x** if prefer the old way.
**Ver 0.3** supports section. It is a breaking change. Check branch **0.2.x** if prefer the old way.

# Using the callbacks
Callback can be used to change the appearance and behavior of an item. It can be set
Expand Down Expand Up @@ -113,7 +113,7 @@ adapter?.apply {
}
}
```
Or call **add**
Or call **add**
```kotlin
val sec = FormItemSection().title("New section").apply {
+FormItemNav().title("Item 0")
Expand Down Expand Up @@ -176,7 +176,7 @@ adapter.sectionBy("sec_date")?.let {
<img src="./images/hide.gif" width="36%">

# Radio group
**FormItemRadio**s will be considered to be in the same group (i.e., selecting one will de-select others), if
**FormItemRadio**s will be considered to be in the same group (i.e., selecting one will de-select others), if
1. they have the same group name, and
2. in the same section.
```kotlin
Expand Down
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.3.1'
libraryVersion = '0.3.2'

developerId = 'tianzhuqiao'
developerName = 'Tianzhu Qiao'
Expand Down

0 comments on commit 55b1ea7

Please sign in to comment.