String validation을 간편하게 도와주는 api형 라이브러리 입니다.
Edit root/app/build.gradle
like below.
dependencies {
implementation 'com.github.chakangost:freddie_validation:1.0'
}
Edit root/build.gradle
like below.
allprojects {
repositories {
.....
maven { url 'https://jitpack.io' }
}
}
If you think this library is useful, please press the star button at the top.
import com.android.freddie.freddie_validation.FreddieValidation.isValidBusinessId
내가 사용하고자하는 위치에서
val isBusinessId = isValidBusinessId("0000000000")
or
FreddieValidation.isValidBusinessId("0000000000") //Import문 없이할 경우
isValidEmail("")
isValidPasswordEasy("")
isValidPasswordNormal("")
isValidPasswordStandard("")
isValidPhoneNumber("")
isValidCallNumber("")
isValidKoreanName("")
isValidCarNumber("")
isValidDate("")
isValidDateAndBirthDay("")
isValidBusinessId("")
isSameDate("", "")
Copyright 2020 Freddie