Skip to content

Commit

Permalink
Remove: 커리어 불필요 코드 삭제
Browse files Browse the repository at this point in the history
  • Loading branch information
kimyujin-com committed Feb 20, 2024
1 parent 9a91cd8 commit 3c5dadf
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,6 @@ class CareerEditCertificateViewModel : ViewModel() {
return !title.value.isNullOrBlank() || !type.value.isNullOrBlank() || !startDate.value.isNullOrBlank() || !endDate.value.isNullOrBlank()
}

private fun isDateValid(date: String?): Boolean {
return date.isNullOrBlank() || date.length == 8
}

fun updateCertificateType(selectedType: String) {
type.value = selectedType
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,6 @@ class CareerEditContestViewModel : ViewModel() {
return !title.value.isNullOrBlank() || !award.value.isNullOrBlank() || !startDate.value.isNullOrBlank() || !endDate.value.isNullOrBlank()
}

private fun isDateValid(date: String?): Boolean {
return date.isNullOrBlank() || date.length == 8
}

fun updateSelectedAward(selectedAward: String) {
award.value = selectedAward
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,6 @@ class CareerEditVolunteerViewModel : ViewModel() {
return !title.value.isNullOrBlank() || !hour.value.isNullOrBlank() || !startDate.value.isNullOrBlank() || !endDate.value.isNullOrBlank()
}

private fun isDateValid(date: String?): Boolean {
return date.isNullOrBlank() || date.length == 8
}

private val careerApiService = ApiClient.createService<CareerApi>()

private val _volunteerDetailInfo: MutableLiveData<CareerDetailResponse?> = MutableLiveData()
Expand Down

0 comments on commit 3c5dadf

Please sign in to comment.