-
Notifications
You must be signed in to change notification settings - Fork 4
๐ Model
์ต์งํ edited this page Nov 25, 2022
·
8 revisions
- Moment
data class MomentEntity(
@PrimaryKey(autoGenerate = true) @ColumnInfo(name = "moment_id") val id: Long = 0L,
@Embedded val place: PlaceEntity,
@ColumnInfo(name = "thumbnail_id", index = true) val thumbnailId: Long?,
@ColumnInfo(name = "content") val content: String,
@ColumnInfo(name = "date") val date: Long,
)
- Place
data class PlaceEntity(
val mainAddress: String,
val detailAddress: String,
val latitude: Double,
val longitude: Double,
)
- Location
data class LocationEntity(
val latitude: Double,
val longitude: Double,
)
- Picture
data class PictureEntity(
@PrimaryKey(autoGenerate = true) @ColumnInfo(name = "picture_id") val id: Long = 0L,
@ColumnInfo(name = "fileName") val fileName: String,
)
- Location
data class LocationEntity(
val latitude: Double,
val longitude: Double,
)
- Globe
data class GlobeEntity(
@PrimaryKey(autoGenerate = true) @ColumnInfo(name = "globe_id") val id: Long = 0L,
@ColumnInfo(name = "name") val name: String,
)
- Moment
data class Moment(
val id: Long,
val place: Place,
val pictures: List<Picture>,
val content: String,
val globes: List<Globe>,
val date: Long,
)
- Place
data class Place(
val mainAddress: String,
val detailAddress: String,
val location: Location
)
- Location
data class Location(
val latitude: Double,
val longitude: Double,
)
- Picture
data class Picture(
val bitmap: ByteArray
)
- Globe
data class Globe(
val name: String,
)
- Moment
data class MomentModel(
val id: Long = 0,
val place: PlaceModel,
val pictures: List<PictureModel>,
val content: String,
val globes: List<GlobeModel>,
val date: Long,
): Serializable
- Place
data class PlaceModel(
val mainAddress: String,
val detailAddress: String,
val location: LocationModel
) : Parcelable
- Location
data class LocationModel(
val latitude: Double,
val longitude: Double,
) : Parcelable
- Picture
data class PictureModel(
val bitmap: Bitmap
)
- Globe
data class GlobeModel(
val name: String,
)
- ๐ Kotlin Serialization ๋น๋ ์ค๋ฅ
- ๐ DB Test ์ฝ๋ ๋น๋/๋ค์ด๋ฒ ๋งต
- ๐ ๋ฐฐํฌ๋ ์ฑ ์ค์น
- ๐ ๊ฐค๋ฌ๋ฆฌ์์ ์ด๋ฏธ์ง ๊ฐ์ ธ์ค๊ธฐ
- ๐ ์ด๋ฏธ์ง uri to bitmap ๋ณํ ์ด์
- ๐ EditText keyboard scroll
- ๐ SAA + BottomNavigation
- ๐ gihub actions ์ด์
- ๐ ์ ๋ ฌ menu ๋ฆฌ์คํธ ๋ค ์๋ณด์ด๋ ๋ฌธ์
- ๐ ๋ชจ๋จผํธ ๋จ๊ธฐ๊ธฐ ์ ๋ชจ๋จผํธ ๋ฆฌ์คํธ ์ ๋ฐ์ดํธ
- ๐ Navigation ์ด๋ ๊ฐ์ ๋ฐ์ดํฐ ์ ์ง
- ๐ ViewPager Indicator ๋ฒ๊ทธ
- ๐ ๋ฆฌ์คํธ ์ ๋ฐ์ดํธ ์ ์คํฌ๋กค ๋งจ ์๋ก ์์ฌ๋ผ๊ฐ๋ ๋ฌธ์
- ๐ ๋์ ์น ํ์ด์ง ํ์ฑ
- ๐ CollapsingToolbarLayout ํ๋ ์ถ์ ์ ๊ธ์ ์คํ์ผ ๋ณ๊ฒฝ
- ๐ Toolbar ๋ค์ ๋ค๋ชจ๋ ๋ทฐ๊ฐ ๋ณด์ด๋ ํ์
- ๐ ๋ง์ปค ๋ก๋ฉ ์๋ ๊ฐ์
- ๐ ์๋ฒ ์๋ต ์ํ๋ ๊ฐ๋ง ํํฐ๋ง ํ๊ธฐ
- ๐ Fade In/Out ์ ๋๋ฉ์ด์ ๊ณผ Gone์ฒ๋ฆฌ
- ๐ ๋ง์ปค ํฌ์ปค์ฑ ์ฒ๋ฆฌ
- ๐ Splash API ์ ์ฉ ์ Data ๋ถ๋ฌ์ค๊ธฐ ์์
- ๐ bottom navigation ํ๋ฉด ์ด์ ๋ถ์์ฐ์ค๋ฌ์ ํด๊ฒฐํ๊ธฐ
- ๐ FAB navigation ์ด๋์ ๋ชจ์ ๋ณํ ํด๊ฒฐํ๊ธฐ
- ๐ ๋ ์จ์ ๋ฐ๋ผ ํ ๋ง ๋ณ๊ฒฝํ๊ธฐ