코딩의 호흡 제1형 무호흡 타이핑
프로젝트 구성은 위과 같이 MVVM패턴으로 설계 하였습니다.
사용한 외부 라이브러리는
// koin
implementation "io.insert-koin:koin-android:$koin_version"
// Glide
kapt 'com.github.bumptech.glide:compiler:4.11.0'
implementation 'com.github.bumptech.glide:glide:4.11.0'
// Retrofit 라이브러리
implementation 'com.squareup.retrofit2:retrofit:2.6.4'
// Gson 변환기 라이브러리
implementation 'com.squareup.retrofit2:converter-gson:2.6.4'
// Scalars 변환기 라이브러리
implementation 'com.squareup.retrofit2:converter-scalars:2.6.4'
- 의존성 주입을 위한 Koin
- 이미지를 띄워주기 위한 Glide
- RestAPI 통신을 위한 Retrofit2
이렇게 세 가지를 사용하였습니다.
총 개발 시간은 주말을 투자하여 15시간 정도 걸린 것 같다.
요구사항 구현 자체는 그리 어렵지 않았는데.. 기능 구현 자체를 목표로 하기보다 관심사 분리를 목표로 하면서 어떻게 구현할지를 고민해서 시간이 더 걸렸던 것 같다.
사실 기능 로직 개발보다 레이아웃 구현하는게 더 어려웠습니다.. 😲