Skip to content
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

충남대 Android_김선규 5주차 Step3 #64

Open
wants to merge 10 commits into
base: kimseongyu
Choose a base branch
from

Conversation

kimseongyu
Copy link

@kimseongyu kimseongyu commented Jul 26, 2024

Step 3

코드 작성하면서 어려웠던 점

  • 이전 과제를 진행하면 Repository를 사용하여 MVVM 패턴을 구현하여 Step3를 진행하며 크게 어려웠던 점이 없었습니다.

코드 리뷰 시, 멘토님이 중점적으로 리뷰해줬으면 하는 부분

Copy link

@omjoonkim omjoonkim left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

선규님 5주차 과제하시느라 수고하셨습니다.
평가항목중 DataBinding 사용 부분이 있습니다만, 현재 코드는 ViewBinding만 적용되어 있는 것 같아요.
DataBinding도 시간나실때 한번 적용해보시면 좋을 것 같습니다.


@Provides
@Singleton
fun provideSavedSearchKeywordRepository(@ApplicationContext context: Context): SavedSearchKeywordRepository {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

테스트 작성 관점에서 안드로이드등의 플랫폼이나, 파이어베이스 같은 라이브러리를 직접 주입받는 것은 지양하는 것이 좋습니다.
꼭 필요하다면 컨텍스트가 필요한 로직을 한번 감싸서 인터페이스를 주입받도록 만드는 것이 좋아요.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

해당 피드백에 대해 잘 이해가 되지 않습니다.
Provide 함수의 인자로 외부 라이브러리들이 오면 안 된다는 걸로 이해하면 되는지 궁금합니다.
혹시 예시 코드나 정리된 사이트 같은 게 있는지 궁금합니다.

@kimseongyu
Copy link
Author

피드백 해주신 부분에 대해 수정했습니다.

@kimseongyu kimseongyu changed the base branch from main to kimseongyu July 28, 2024 23:26
kimseongyu and others added 10 commits July 29, 2024 09:05
* Initial commit

* Merge : android-map-keyword into android-map-search (kakao-tech-campus-2nd-step2#8)

* 충남대 Android_김선규 3주차 과제 Step1 (kakao-tech-campus-2nd-step2#47)

* docs: add step1 requirements

* chore: set for using android api

* style: rename id in layout

* feat: remove storeInfo for using api

* feat: add connecting api for searching

* style: rename variable name proper

* 충남대 Android_김선규 3주차 과제 Step2 (kakao-tech-campus-2nd-step2#85)

* style: function rename and split

* feat: Change function to fit coroutine

* docs: add step2 requirements

* style: move from main to sub file

* chore: set it up to work in the right environment

* feat: display kakao map, when app is started

---------

Co-authored-by: MyStoryG <[email protected]>
* docs: add week 4 step 1 requirements

* feat: add searching by saved search keyword

* chore: relocate files proper

* feat: modify adapter to make clean code

* feat: add image for marker

* feat: add layout for displaying bottom sheet

* feat: add parcelabel for easy to send data

* feat: add displaying search result

* refactor: modify class structure

* feat: add error screen and reload button

* feat: add saving and loading last position

when app is closed, save last position
when app is opened, load last position
* style: rename variable name

* feat: add viewModel and Repository for saving last position

* refactor: classify in more detail

* test: add android UI test

* chore: add mockk test dependency

* test: add ViewModel test

* chore: add testOptions

* test: modify android ui test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants