Skip to content

이미지 슬라이딩 및 검색 결과 count#26

Open
yslee94 wants to merge 2 commits into
boostcampth:masterfrom
yslee94:movie
Open

이미지 슬라이딩 및 검색 결과 count#26
yslee94 wants to merge 2 commits into
boostcampth:masterfrom
yslee94:movie

Conversation

@yslee94

@yslee94 yslee94 commented Jan 20, 2019

Copy link
Copy Markdown

ezgif com-video-to-gif

개요

  • 이미지를 확대하고싶거나, 영화 포스터만 넘겨보고싶을 경우를 생각하여 이미지 슬라이딩 액티비티를 추가하였습니다.
  • 검색 결과가 몇개인지 보여주는 텍스트를 추가했습니다.

작업사항

  • 리사이클러뷰에서 사진 영역을 클릭하면 ImageActivity 실행 (그 외의 영역은 이전과 동일하게 영화 상세정보 링크로 바로 이동)
  • RecyclerView와 SnapHelper를 사용하여 포스터 하나씩 슬라이딩
  • 확대된 포스터를 클릭하면 영화 상세정보 링크로 이동
  • 전체 검색 결과 개수를 보여주는 TextView 추가

@@ -30,4 +32,12 @@ public Single<SearchMovieResponse> searchMovies(Map<String, String> request) {

return remoteDataSource.searchMovies(request);

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

구조를 세분화 시키신 것이 인상 깊었습니다, remoteDataSource를 한 번 더 감싸셨는데 싱글톤 패턴을 두 번 적용하신 이유가 궁금합니다

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