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

[feat] WebViewActivity 구현 #34

Merged
merged 3 commits into from
Jan 5, 2024
Merged

[feat] WebViewActivity 구현 #34

merged 3 commits into from
Jan 5, 2024

Conversation

jihyunniiii
Copy link
Collaborator

Related issue 🛠

Work Description ✏️

  • 웹 뷰 연결을 위한 WebViewActivity를 구현했습니다.

Screenshot 📸

Screen_recording_20240105_182907.mp4

Uncompleted Tasks 😅

  • N/A

To Reviewers 📢

웹 뷰 연결을 위한 확장함수를 만들어두었습니다.
startActivity(navigateToWebView(webViewLink: String)) 와 같은 형태로 사용해주시면 됩니다.

Copy link
Collaborator

@HAJIEUN02 HAJIEUN02 left a comment

Choose a reason for hiding this comment

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

짱~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~`💛💛💛💛💛💛 언니 덕에 겁나게어려운 개발을 어려운 개발 정도로 끝낼 수 있게 되는 느낌

@SuppressLint("SetJavaScriptEnabled")
private fun initLayout() {
binding.wvWebView.apply {
webViewClient = WebViewClient()
Copy link
Collaborator

Choose a reason for hiding this comment

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

우와 신기해......... 웹뷰는 이런 식으로 연결하는 거군요 존재부터 사용방법까지 하나도 몰랐던 거라 넘 신기하구..

Copy link
Collaborator

Choose a reason for hiding this comment

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

이것만이 정답은 아니고 웹뷰를 띄우는 방법은 여러가지가 있습니다 ~

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

마자요 intent의 ACTION_VIEW를 사용할 수도 있구 다른 방법이 많답니당!


<WebView
android:id="@+id/wv_web_view"
android:layout_width="0dp"
Copy link
Collaborator

Choose a reason for hiding this comment

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

0dp의 신

Copy link
Collaborator

@Dan2dani Dan2dani left a comment

Choose a reason for hiding this comment

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

LGTM

@SuppressLint("SetJavaScriptEnabled")
private fun initLayout() {
binding.wvWebView.apply {
webViewClient = WebViewClient()
Copy link
Collaborator

Choose a reason for hiding this comment

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

이것만이 정답은 아니고 웹뷰를 띄우는 방법은 여러가지가 있습니다 ~

Copy link
Member

@Doreminwoo Doreminwoo left a comment

Choose a reason for hiding this comment

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

웹뷰가 처음이라 뭐가 뭔지 모르겠네요! 웹뷰공부할 때 참고하겠습니다!!!

# Conflicts:
#	app/src/main/AndroidManifest.xml
@jihyunniiii jihyunniiii merged commit 0440be3 into develop Jan 5, 2024
1 check passed
@jihyunniiii jihyunniiii deleted the feat-web-view branch January 5, 2024 17:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

[feat] WebViewActivity 구현
4 participants