-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop-an' into feature/#51_travel_ui
# Conflicts: # android/Staccato_AN/app/src/main/java/com/woowacourse/staccato/DeleteDialogFragment.kt # android/Staccato_AN/app/src/main/java/com/woowacourse/staccato/presentation/BindingAdapters.kt # android/Staccato_AN/app/src/main/java/com/woowacourse/staccato/presentation/visit/VisitFragment.kt # android/Staccato_AN/app/src/main/res/drawable/shape_place_holder_oval.xml # android/Staccato_AN/app/src/main/res/layout/toolbar_detail.xml
- Loading branch information
Showing
61 changed files
with
2,245 additions
and
118 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
7 changes: 7 additions & 0 deletions
7
...ato_AN/app/src/main/java/com/woowacourse/staccato/domain/repository/TimelineRepository.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,7 @@ | ||
package com.woowacourse.staccato.domain.repository | ||
|
||
import com.woowacourse.staccato.presentation.timeline.TimelineTravelUiModel | ||
|
||
interface TimelineRepository { | ||
fun loadTravels(): List<TimelineTravelUiModel> | ||
} |
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
71 changes: 71 additions & 0 deletions
71
...pp/src/main/java/com/woowacourse/staccato/presentation/timeline/TempTimelineRepository.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,71 @@ | ||
package com.woowacourse.staccato.presentation.timeline | ||
|
||
import com.woowacourse.staccato.domain.repository.TimelineRepository | ||
|
||
class TempTimelineRepository : TimelineRepository { | ||
private val travels = | ||
listOf( | ||
TimelineTravelUiModel( | ||
travelId = 0L, | ||
travelThumbnail = null, | ||
travelPeriod = "2024.07.23", | ||
travelTitle = "우테코 선릉캠 탐방", | ||
), | ||
TimelineTravelUiModel( | ||
travelId = 1L, | ||
travelThumbnail = "https://cdn.tourtoctoc.com/news/photo/202305/520_2742_5617.jpg", | ||
travelPeriod = "2024.06.30 - 07.04", | ||
travelTitle = "제주도 여행", | ||
), | ||
TimelineTravelUiModel( | ||
travelId = 2L, | ||
travelThumbnail = null, | ||
travelPeriod = "2024.06.28", | ||
travelTitle = "파리 여행", | ||
), | ||
TimelineTravelUiModel( | ||
travelId = 3L, | ||
travelThumbnail = | ||
"https://pds.joongang.co.kr/news/component/htmlphoto_mmdata/" + | ||
"202203/11/97c3e727-0d4c-4fba-83c7-7558d9455651.jpg", | ||
travelPeriod = "2024.06.26", | ||
travelTitle = "포항 영일대 당일치기", | ||
), | ||
TimelineTravelUiModel( | ||
travelId = 4L, | ||
travelThumbnail = | ||
"https://triptogo.world/web/product/big/" + | ||
"202104/e827b41e2d22aeddc8015b018df9aa5b.png", | ||
travelPeriod = "2024.05.28 - 29", | ||
travelTitle = "서울 나들이", | ||
), | ||
TimelineTravelUiModel( | ||
travelId = 5L, | ||
travelThumbnail = | ||
"https://triptogo.world/web/product/big/" + | ||
"202104/e827b41e2d22aeddc8015b018df9aa5b.png", | ||
travelPeriod = "2024.05.28 - 29", | ||
travelTitle = "서울 나들이", | ||
), | ||
TimelineTravelUiModel( | ||
travelId = 6L, | ||
travelThumbnail = | ||
"https://triptogo.world/web/product/big/" + | ||
"202104/e827b41e2d22aeddc8015b018df9aa5b.png", | ||
travelPeriod = "2024.05.28 - 29", | ||
travelTitle = "서울 나들이", | ||
), | ||
TimelineTravelUiModel( | ||
travelId = 7L, | ||
travelThumbnail = | ||
"https://triptogo.world/web/product/big/" + | ||
"202104/e827b41e2d22aeddc8015b018df9aa5b.png", | ||
travelPeriod = "2024.05.28 - 29", | ||
travelTitle = "서울 나들이", | ||
), | ||
) | ||
|
||
override fun loadTravels(): List<TimelineTravelUiModel> { | ||
return travels | ||
} | ||
} |
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
...to_AN/app/src/main/java/com/woowacourse/staccato/presentation/timeline/TimelineHandler.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.woowacourse.staccato.presentation.timeline | ||
|
||
interface TimelineHandler { | ||
fun onTravelClicked(travelId: Long) | ||
} |
Oops, something went wrong.