-
Notifications
You must be signed in to change notification settings - Fork 0
[Feat] MainActivity Compose 연동 및 하위 Fragment 제거 #40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
8c715fd
220a587
06ccf08
1faefcc
f66eebc
824fbe9
72ccac5
6cfd1b7
d0648dd
4aa5aac
80b20ef
28507ee
b9251e5
be5f972
bf9df25
d352259
65c2fbe
7ef34f0
91abcef
4c5d379
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,15 +1,19 @@ | ||
| package com.daedan.festabook.presentation.main | ||
|
|
||
| import com.daedan.festabook.presentation.placeDetail.model.PlaceDetailUiModel | ||
| import com.daedan.festabook.presentation.placeMap.model.PlaceUiModel | ||
| import kotlinx.serialization.Serializable | ||
|
|
||
| @Serializable | ||
| sealed interface FestabookRoute { | ||
| @Serializable | ||
| data object Splash : FestabookRoute | ||
|
|
||
| // TODO: PlaceUiModel, PlaceDetailUiModel 생성자에 추가 후 UiModel에 @Serializable 어노테이션 필요 | ||
| @Serializable | ||
| data object PlaceDetail : FestabookRoute | ||
| data class PlaceDetail( | ||
| val placeUiModel: PlaceUiModel? = null, | ||
| val placeDetailUiModel: PlaceDetailUiModel? = null, | ||
| ) : FestabookRoute | ||
|
Comment on lines
+3
to
+16
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🛠️ Refactor suggestion | 🟠 Major 🧩 Analysis chain🏁 Script executed: # Find PlaceDetailUiModel and PlaceUiModel files
fd 'PlaceDetailUiModel|PlaceUiModel' -t f --extension ktRepository: festabook/android Length of output: 178 🏁 Script executed: # Try searching using web for information about Jetpack Compose navigation serialization constraints
# and common issues with navigation route payloads
curl -s "https://developer.android.com/" 2>/dev/null | head -20 || echo "Web access limited"Repository: festabook/android Length of output: 808 🌐 Web query:
💡 Result: In Navigation Compose, “type-safe routes” that use Practical size limits / constraints (what will bite you)
What this means for “serialized route payloads”
If you share a concrete example of your route payload (types + approximate size), I can suggest a safer pattern and where it should live (route vs Citations:
🌐 Web query:
💡 Result: Best practices (performance + reliability) for
|
||
|
|
||
| @Serializable | ||
| data object Explore : FestabookRoute | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.