Skip to content

Commit

Permalink
Removed RES folder from library, added clearAllErrors function
Browse files Browse the repository at this point in the history
  • Loading branch information
thalisvilela committed Sep 30, 2019
1 parent 251ad7e commit 88b5ec9
Show file tree
Hide file tree
Showing 18 changed files with 6 additions and 234 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,12 @@ class ObservableValidator <T:Observable>(private val observedObject:T, private v
return response
}

fun clearAllErrors(){
validations.entries.forEach {
it.value?.value = null
}
}

//Run all validations for this field, stop if we fail some rule
fun validateField(propertyId: Int){
rules[propertyId]?.forEach {
Expand Down
34 changes: 0 additions & 34 deletions app/src/main/res/drawable-v24/ic_launcher_foreground.xml

This file was deleted.

170 changes: 0 additions & 170 deletions app/src/main/res/drawable/ic_launcher_background.xml

This file was deleted.

5 changes: 0 additions & 5 deletions app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml

This file was deleted.

5 changes: 0 additions & 5 deletions app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml

This file was deleted.

Binary file removed app/src/main/res/mipmap-hdpi/ic_launcher.png
Binary file not shown.
Binary file removed app/src/main/res/mipmap-hdpi/ic_launcher_round.png
Binary file not shown.
Binary file removed app/src/main/res/mipmap-mdpi/ic_launcher.png
Binary file not shown.
Binary file removed app/src/main/res/mipmap-mdpi/ic_launcher_round.png
Binary file not shown.
Binary file removed app/src/main/res/mipmap-xhdpi/ic_launcher.png
Binary file not shown.
Binary file removed app/src/main/res/mipmap-xhdpi/ic_launcher_round.png
Binary file not shown.
Binary file removed app/src/main/res/mipmap-xxhdpi/ic_launcher.png
Binary file not shown.
Binary file removed app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png
Binary file not shown.
Binary file removed app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
Binary file not shown.
Binary file not shown.
6 changes: 0 additions & 6 deletions app/src/main/res/values/colors.xml

This file was deleted.

3 changes: 0 additions & 3 deletions app/src/main/res/values/strings.xml

This file was deleted.

11 changes: 0 additions & 11 deletions app/src/main/res/values/styles.xml

This file was deleted.

0 comments on commit 88b5ec9

Please sign in to comment.