Skip to content

Recycler View 내 LongClick 기능 추가#25

Open
weedrice wants to merge 3 commits into
boostcampth:masterfrom
weedrice:develop
Open

Recycler View 내 LongClick 기능 추가#25
weedrice wants to merge 3 commits into
boostcampth:masterfrom
weedrice:develop

Conversation

@weedrice

Copy link
Copy Markdown

Recycler View 내의 Item이 LongClick 되었을 때 화면 전환되지 않고 Pop-up으로 WebView를 통해 영화 상세 페이지를 표시하도록 구현했습니다.
iOS에서 3D터치를 이용한 팝업 웹페이지 표현에서 아이디어를 얻었습니다.

…여줍니다. iOS에서 3D터치를 이용한 팝업 웹페이지 표현에서 아이디어를 얻었습니다.
/**
* 현재 창 안에 Dialog를 이용한 웹 사이트 출력 */
@Override
public void startSimpleView(String linkUrl, String movieTitle) {

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

movietitle 변수는 사용되지 않으니 지우셔도 될 것 같습니다!

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

에구 MainActivity에서 Base로 넘겨줬어야했는데 잊고 지나쳤네요 지적 감사합니다

movieTitle변수 사용되도록 변경
MainActivity 내 showDialog 함수 인자로 movieTitle 추가
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