الشكل 1. إجراء التمرير السريع لإعادة تحميل تطبيق تضاريس
حتى إذا كان تطبيقك يُحدّث محتواه تلقائيًا بشكل منتظم، يمكنك أيضًا السماح للمستخدمين
بطلب التحديثات يدويًا. على سبيل المثال، يمكن لتطبيق توقّعات الطقس السماح للمستخدمين بإعادة تحميل التطبيق للحصول على
أحدث توقّعات الطقس عند الطلب. لتوفير تجربة مستخدم عادية لطلب التحديثات، تتضمّن منصّة Android انماط تصميم التمرير السريع لإعادة التحميل، ما يتيح للمستخدمين إجراء تحديث
باستخدام التمرير السريع العمودي.
يمكنك الاطّلاع على كيفية توفير ميزة التمرير السريع لإعادة التحميل في
RecyclerView
وكيفية توفير خيار إعادة تحميل يسهل الوصول إليه باستخدام شريط الإجراءات.
يمكنك التعرّف على كيفية الاستجابة للإيماءة "السحب لإعادة التحميل" وكيفية إجراء التعديل نفسه من
إجراء إعادة تحميل شريط الإجراءات.
يخضع كل من المحتوى وعيّنات التعليمات البرمجية في هذه الصفحة للتراخيص الموضحّة في ترخيص استخدام المحتوى. إنّ Java وOpenJDK هما علامتان تجاريتان مسجَّلتان لشركة Oracle و/أو الشركات التابعة لها.
تاريخ التعديل الأخير: 2025-07-26 (حسب التوقيت العالمي المتفَّق عليه)
[[["يسهُل فهم المحتوى.","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 (حسب التوقيت العالمي المتفَّق عليه)"],[],[],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."]]