-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* refactor(Bookmark): 화면 터치 시 보라색 터치 영역 무채색(그레이)으로 변경 수정 확인 * refactor(Bookmark): 아티스트 검색에서 오늘 공연/공연 예정이 0개일 때의 글자 색 변화 적용 * refactor(Bookmark): 북마크 문구 변경 * refactor(Bookmark): 없는 res 쓰는 태그 정리 * refactor(Bookmark): 네트워크 및 에러 도메인 객체를 활용 하도록변경 * refactor(Bookmark): 코드 분할 * refactor(Bookmark): 북마크 체크하도록 변경 * refactor(Bookmark): 예외 케이스 클래스로 변경 * refactor(Bookmark): 예외 케이스 클래스로 변경
- Loading branch information
Showing
10 changed files
with
142 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
...omain/src/main/java/com/festago/festago/domain/exception/BookmarkLimitExeededException.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
package com.festago.festago.domain.exception | ||
|
||
class BookmarkLimitExceededException : Exception() | ||
|
||
fun Throwable.isBookmarkLimitExceeded() = this is BookmarkLimitExceededException |
4 changes: 4 additions & 0 deletions
4
...oid/festago/domain/src/main/java/com/festago/festago/domain/exception/NetworkException.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
package com.festago.festago.domain.exception | ||
|
||
class NetworkException : Exception() | ||
fun Throwable.isNetworkError() = this is NetworkException |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters