Skip to content

Commit

Permalink
Bumped version number and updated readme file
Browse files Browse the repository at this point in the history
  • Loading branch information
ernestoyaquello committed Nov 21, 2018
1 parent 8abfc48 commit 6aa1690
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Add the library to your project via Gradle:

```
dependencies {
implementation 'com.ernestoyaquello.stepperform:vertical-stepper-form:2.0.0'
implementation 'com.ernestoyaquello.stepperform:vertical-stepper-form:2.0.1'
}
```

Expand Down Expand Up @@ -75,7 +75,7 @@ public class UserNameStep extends Step<String> {
// The step's data (i.e., the user name) will be considered valid only if it is longer than
// three characters. In case it is not, we will display an error message for feedback.
boolean isNameValid = stepData.length() >= 3;
String errorMessage = !isNameValid ? "The name must be at least 3 characters long" : "";
String errorMessage = !isNameValid ? "3 characters minimum" : "";

return new IsDataValid(isNameValid, errorMessage);
}
Expand Down Expand Up @@ -114,7 +114,7 @@ public class UserNameStep extends Step<String> {
}
```

Most of the methods showed above will be called automatically by the library. For example, every time the user opens a step, the open step will be marked as completed or uncompleted depending on the value returned by `isStepDataValid()`.
Most of the methods showed above will be called automatically by the library. For example, every time the user opens a step, the open step will be marked as completed or uncompleted depending on the value returned by `isStepDataValid()` (you can implement it to always return a valid value in case the step is optional).

### 4. Set Up The Form And Initialize It
Once you have defined all your steps, you will need to find the view of the form to set it up and initialize it:
Expand Down
4 changes: 2 additions & 2 deletions vertical-stepper-form/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ ext {
siteUrl = 'https://github.com/ernestoyaquello/vertical-stepper-form'
gitUrl = 'https://github.com/ernestoyaquello/vertical-stepper-form.git'

libraryVersion = '2.0.0'
libraryVersion = '2.0.1'

developerId = 'ernestoyaquello'
developerName = 'Julio Ernesto Rodríguez Cabañas'
Expand All @@ -32,7 +32,7 @@ android {
defaultConfig {
minSdkVersion 19
targetSdkVersion 28
versionCode 10
versionCode 11
versionName libraryVersion
}

Expand Down

0 comments on commit 6aa1690

Please sign in to comment.