🏫 Mobile/🦖 Android [Android] 안드로이드 프래그먼트 웹뷰 뒤로가기 728x90 안녕하세요. 팀드모네입니다. 오늘은 안드로이드 프래그먼트 웹뷰 뒤로가기 처리 방법을 공유드립니다. 해당 웹뷰는 일반적인 웹뷰와 달리 아래처럼 작성해주셔야합니다. mWebView.setOnKeyListener(new View.OnKeyListener() { @Override public boolean onKey(View v, int keyCode, KeyEvent event) { if (event.getAction()!=KeyEvent.ACTION_DOWN) return true; if (keyCode == KeyEvent.KEYCODE_BACK) { if (mWebView.canGoBack()) { mWebView.goBack(); } return true; } return false; } }); 블로그 방문해주셔서 감사합니다. 잘 해결되었기를 기원합니다. 추가로 질문사항이 있으면 댓글 남겨주세요 :) 반응형 공유하기 URL 복사카카오톡 공유페이스북 공유엑스 공유 게시글 관리 구독하기팀드모네 IT Blog 저작자표시 비영리 동일조건 (새창열림) '🏫 Mobile > 🦖 Android' 카테고리의 다른 글 [5분 내로] Kotlin splash 쉽게 구현하기 (0) 2021.03.30 [solved] Must be called on the main UI thread (0) 2021.03.20 [Android] 웹뷰, 웹앱에서 confirm, tel 등이 되도록 만드는 방법 (0) 2020.07.03 You need to use a Theme.AppCompat theme (or descendant) with this activity. (0) 2020.03.26 Program type already present: android.support.v4.app.INotificationSideChannel$Stub$Proxy 해결방법 (0) 2020.03.21 Contents 당신이 좋아할만한 콘텐츠 [5분 내로] Kotlin splash 쉽게 구현하기 2021.03.30 [solved] Must be called on the main UI thread 2021.03.20 [Android] 웹뷰, 웹앱에서 confirm, tel 등이 되도록 만드는 방법 2020.07.03 You need to use a Theme.AppCompat theme (or descendant) with this activity. 2020.03.26 댓글 0 + 이전 댓글 더보기