앱이 정기적으로 콘텐츠를 자동 업데이트하더라도 사용자가 수동 업데이트를 요청하도록 허용할 수 있습니다. 예를 들어 일기 예보 앱에서 사용자가 앱을 새로고침하여 최신 예보를 요청하여 받을 수 있도록 허용할 수 있습니다. 업데이트를 요청할 수 있는 일반 사용자 환경을 제공하기 위해 Android 플랫폼에는 사용자가 수직으로 스와이프하여 업데이트를 트리거할 수 있는 스와이프하여 새로고침 패턴이 포함됩니다.
스와이프하여 새로고침 동작에 응답하는 방법과 작업 모음 새로고침 작업에서 동일한 업데이트를 실행하는 방법을 알아보세요.
이 페이지에 나와 있는 콘텐츠와 코드 샘플에는 콘텐츠 라이선스에서 설명하는 라이선스가 적용됩니다. 자바 및 OpenJDK는 Oracle 및 Oracle 계열사의 상표 또는 등록 상표입니다.
최종 업데이트: 2025-07-26(UTC)
[[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["필요한 정보가 없음","missingTheInformationINeed","thumb-down"],["너무 복잡함/단계 수가 너무 많음","tooComplicatedTooManySteps","thumb-down"],["오래됨","outOfDate","thumb-down"],["번역 문제","translationIssue","thumb-down"],["샘플/코드 문제","samplesCodeIssue","thumb-down"],["기타","otherDown","thumb-down"]],["최종 업데이트: 2025-07-26(UTC)"],[],[],null,["# About swipe-to-refresh\n\nTry the Compose way \nJetpack Compose is the recommended UI toolkit for Android. Learn how to pull to refresh in Compose. \n[Pull to refresh in Compose →](/develop/ui/compose/components/pull-to-refresh) \n**Figure 1.** A swipe-to-refresh action updating a weather app.\n\nEven if your app automatically updates its content on a regular basis, you can also let users\nrequest manual updates. For example, a weather forecasting app can let users refresh the app to get\nthe latest forecasts on demand. To provide a standard user experience for requesting updates, the\nAndroid platform includes the swipe-to-refresh design pattern, which lets users trigger an update\nwith a vertical swipe.\n\nDownload the sample apps:\n\n- [SwipeRefreshLayoutBasic](https://github.com/android/views-widgets-samples/tree/main/SwipeRefreshLayoutBasic)\n- [SwipeRefreshMultipleViews](https://github.com/android/views-widgets-samples/tree/main/SwipeRefreshMultipleViews/)\n\nLessons\n-------\n\n\n**[Add swipe-to-refresh to your app](/develop/ui/views/touch-and-input/swipe/add-swipe-interface)**\n:\n Learn how to provide swipe-to-refresh support in a\n [RecyclerView](/reference/androidx/recyclerview/widget/RecyclerView)\n and how to provide a more accessible refresh option using the action bar.\n\n\n**[Respond to a refresh request](/develop/ui/views/touch-and-input/swipe/respond-refresh-request)**\n:\n Learn how to respond to the swipe-to-refresh gesture and how to perform the same update from an\n action bar refresh action."]]