Skip to content

Conversation

@GwonDongHyeon21
Copy link
Collaborator

@GwonDongHyeon21 GwonDongHyeon21 commented Jan 1, 2026

📝 변경 사항

Naver 검색 API를 Kakao 검색 API로 전환하고 Paging3를 적용하여 무한 스크롤 기능을 구현했습니다.

🎯 작업 내용

API 전환

  • Naver 검색 API → Kakao 검색 API로 변경
  • Kakao API 의존성 주입 (NetworkModule, RepositoryModule)
  • Kakao 검색 API 통신 구현 (KakaoSearchService, KakaoSearchDataSource, KakaoSearchRepository)
  • 관련 data class 수정 (Location, LocationResponse)

Paging3 적용

  • Paging3 라이브러리 설정 추가
  • KakaoSearchPagingSource 구현 (페이지 기반 페이징 처리)
  • SearchLocation 화면에 페이징 적용 (ViewModel에서 Flow<PagingData> 제공)
  • 검색 결과 무한 스크롤 기능 구현

UI 컴포넌트

  • MemoripPagingList 공통 컴포넌트 추가 (LazyColumn/LazyVerticalStaggeredGrid + Paging3 통합)
    • Loading, Error, Empty 상태 처리
    • 페이지 로딩 인디케이터 표시
  • LoadingIndicator 화면 컴포넌트 추가
  • EmptyText 컴포넌트 추가
  • Error 화면 컴포넌트 수정

데이터 직렬화

  • Kotlinx Serialization Json 설정 추가
  • Gson에서 Serialization으로 변경
  • data class에 @serializable 어노테이션 적용
  • Retrofit에서 Serialization Converter 사용

🔗 관련 이슈

Closes #50

📸 스크린샷 (선택사항)

💬 리뷰어에게

  • Kakao API로 변경하면서 페이징이 가능해져 검색 결과를 무한 스크롤로 제공할 수 있게 되었습니다.
  • MemoripPagingList 컴포넌트는 다른 페이징이 필요한 화면에서도 재사용 가능하도록 설계했습니다.
  • local.properties에 Kakao API 키 설정이 필요합니다.

@GwonDongHyeon21 GwonDongHyeon21 linked an issue Jan 1, 2026 that may be closed by this pull request
@GwonDongHyeon21 GwonDongHyeon21 self-assigned this Jan 1, 2026
@GwonDongHyeon21 GwonDongHyeon21 added the feature 기능 추가, ui 변경 label Jan 1, 2026
Copy link
Collaborator

@HJunng HJunng left a comment

Choose a reason for hiding this comment

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

공통 컴포넌트를 엄청 잘 만들어주셨군요!
검색어 없을 때 처리한 것까지 좋네요..! 고생하셨습니다~

Copy link
Collaborator

@hoyadong1 hoyadong1 left a comment

Choose a reason for hiding this comment

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

변경하시느라 고생하셨습니다.
시간 나실때, 네이버랑 카카오 api 비교 문서도 정리하시면 좋을 듯 합니다

@GwonDongHyeon21 GwonDongHyeon21 changed the title [Feature] 장소 검색 Paging 적용 및 Kakao API 전환 [Feature] Kakao API 전환 및 장소 검색 Paging 적용 Jan 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature 기능 추가, ui 변경

Projects

None yet

Development

Successfully merging this pull request may close these issues.

카카오 검색 API 및 페이징 적용

4 participants