{"id":3787,"date":"2024-03-13T07:30:33","date_gmt":"2024-03-13T07:30:33","guid":{"rendered":"https:\/\/www.silicloud.com\/blog\/how-can-the-pull-to-refresh-feature-be-implemented-in-the-recyclerview-on-android\/"},"modified":"2025-07-30T21:12:04","modified_gmt":"2025-07-30T21:12:04","slug":"how-can-the-pull-to-refresh-feature-be-implemented-in-the-recyclerview-on-android","status":"publish","type":"post","link":"https:\/\/www.silicloud.com\/blog\/how-can-the-pull-to-refresh-feature-be-implemented-in-the-recyclerview-on-android\/","title":{"rendered":"Android RecyclerView Pull-to-Refresh Guide"},"content":{"rendered":"<p>To achieve the pull-to-refresh feature in RecyclerView, you can use SwipeRefreshLayout in combination with RecyclerView. Here are the specific steps:<\/p>\n<ol>\n<li>Add SwipeRefreshLayout and RecyclerView to the layout file.<\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><span class=\"hljs-tag\">&lt;<span class=\"hljs-name\">android.support.v4.widget.SwipeRefreshLayout<\/span>\r\n    <span class=\"hljs-attr\">android:id<\/span>=<span class=\"hljs-string\">\"@+id\/swipeRefreshLayout\"<\/span>\r\n    <span class=\"hljs-attr\">android:layout_width<\/span>=<span class=\"hljs-string\">\"match_parent\"<\/span>\r\n    <span class=\"hljs-attr\">android:layout_height<\/span>=<span class=\"hljs-string\">\"match_parent\"<\/span>&gt;<\/span>\r\n\r\n    <span class=\"hljs-tag\">&lt;<span class=\"hljs-name\">android.support.v7.widget.RecyclerView<\/span>\r\n        <span class=\"hljs-attr\">android:id<\/span>=<span class=\"hljs-string\">\"@+id\/recyclerView\"<\/span>\r\n        <span class=\"hljs-attr\">android:layout_width<\/span>=<span class=\"hljs-string\">\"match_parent\"<\/span>\r\n        <span class=\"hljs-attr\">android:layout_height<\/span>=<span class=\"hljs-string\">\"match_parent\"<\/span> \/&gt;<\/span>\r\n\r\n<span class=\"hljs-tag\">&lt;\/<span class=\"hljs-name\">android.support.v4.widget.SwipeRefreshLayout<\/span>&gt;<\/span>\r\n<\/code><\/pre>\n<ol>\n<li>Initialize SwipeRefreshLayout and RecyclerView in Activity or Fragment and set up pull-to-refresh listener and scroll listener.<\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><span class=\"hljs-type\">SwipeRefreshLayout<\/span> <span class=\"hljs-variable\">swipeRefreshLayout<\/span> <span class=\"hljs-operator\">=<\/span> findViewById(R.id.swipeRefreshLayout);\r\n<span class=\"hljs-type\">RecyclerView<\/span> <span class=\"hljs-variable\">recyclerView<\/span> <span class=\"hljs-operator\">=<\/span> findViewById(R.id.recyclerView);\r\n\r\nswipeRefreshLayout.setOnRefreshListener(<span class=\"hljs-keyword\">new<\/span> <span class=\"hljs-title class_\">SwipeRefreshLayout<\/span>.OnRefreshListener() {\r\n    <span class=\"hljs-meta\">@Override<\/span>\r\n    <span class=\"hljs-keyword\">public<\/span> <span class=\"hljs-keyword\">void<\/span> <span class=\"hljs-title function_\">onRefresh<\/span><span class=\"hljs-params\">()<\/span> {\r\n        <span class=\"hljs-comment\">\/\/ \u4e0b\u62c9\u5237\u65b0\u65f6\u6267\u884c\u7684\u64cd\u4f5c<\/span>\r\n        <span class=\"hljs-comment\">\/\/ \u53ef\u4ee5\u5728\u8fd9\u91cc\u8bf7\u6c42\u6570\u636e\u5e76\u66f4\u65b0RecyclerView<\/span>\r\n        swipeRefreshLayout.setRefreshing(<span class=\"hljs-literal\">false<\/span>);  <span class=\"hljs-comment\">\/\/ \u5237\u65b0\u5b8c\u6210\u540e\u505c\u6b62\u5237\u65b0\u52a8\u753b<\/span>\r\n    }\r\n});\r\n\r\nrecyclerView.addOnScrollListener(<span class=\"hljs-keyword\">new<\/span> <span class=\"hljs-title class_\">RecyclerView<\/span>.OnScrollListener() {\r\n    <span class=\"hljs-meta\">@Override<\/span>\r\n    <span class=\"hljs-keyword\">public<\/span> <span class=\"hljs-keyword\">void<\/span> <span class=\"hljs-title function_\">onScrolled<\/span><span class=\"hljs-params\">(RecyclerView recyclerView, <span class=\"hljs-type\">int<\/span> dx, <span class=\"hljs-type\">int<\/span> dy)<\/span> {\r\n        <span class=\"hljs-built_in\">super<\/span>.onScrolled(recyclerView, dx, dy);\r\n        \r\n        <span class=\"hljs-type\">LinearLayoutManager<\/span> <span class=\"hljs-variable\">layoutManager<\/span> <span class=\"hljs-operator\">=<\/span> (LinearLayoutManager) recyclerView.getLayoutManager();\r\n        <span class=\"hljs-type\">int<\/span> <span class=\"hljs-variable\">lastVisibleItemPosition<\/span> <span class=\"hljs-operator\">=<\/span> layoutManager.findLastVisibleItemPosition();\r\n        <span class=\"hljs-type\">int<\/span> <span class=\"hljs-variable\">totalItemCount<\/span> <span class=\"hljs-operator\">=<\/span> layoutManager.getItemCount();\r\n        \r\n        <span class=\"hljs-keyword\">if<\/span> (!swipeRefreshLayout.isRefreshing() &amp;&amp; totalItemCount &lt;= (lastVisibleItemPosition + <span class=\"hljs-number\">5<\/span>)) {\r\n            <span class=\"hljs-comment\">\/\/ \u6ed1\u52a8\u5230\u5e95\u90e8\u65f6\u6267\u884c\u7684\u64cd\u4f5c<\/span>\r\n            <span class=\"hljs-comment\">\/\/ \u53ef\u4ee5\u5728\u8fd9\u91cc\u52a0\u8f7d\u66f4\u591a\u6570\u636e\u5e76\u66f4\u65b0RecyclerView<\/span>\r\n        }\r\n    }\r\n});\r\n<\/code><\/pre>\n<ol>\n<li>In the onScrolled method of the scroll listener, check if the user has scrolled to the bottom, and trigger the operation to load more data when they do.<\/li>\n<\/ol>\n<p>By following the above steps, you can achieve the pull-down loading function of RecyclerView.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>To achieve the pull-to-refresh feature in RecyclerView, you can use SwipeRefreshLayout in combination with RecyclerView. Here are the specific steps: Add SwipeRefreshLayout and RecyclerView to the layout file. &lt;android.support.v4.widget.SwipeRefreshLayout android:id=&#8221;@+id\/swipeRefreshLayout&#8221; android:layout_width=&#8221;match_parent&#8221; android:layout_height=&#8221;match_parent&#8221;&gt; &lt;android.support.v7.widget.RecyclerView android:id=&#8221;@+id\/recyclerView&#8221; android:layout_width=&#8221;match_parent&#8221; android:layout_height=&#8221;match_parent&#8221; \/&gt; &lt;\/android.support.v4.widget.SwipeRefreshLayout&gt; Initialize SwipeRefreshLayout and RecyclerView in Activity or Fragment and set up pull-to-refresh listener and scroll listener. SwipeRefreshLayout [&hellip;]<\/p>\n","protected":false},"author":10,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_import_markdown_pro_load_document_selector":0,"_import_markdown_pro_submit_text_textarea":"","footnotes":""},"categories":[1],"tags":[2611,116,2612,2614,2613],"class_list":["post-3787","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-android-recyclerview","tag-android-ui","tag-pull-to-refresh","tag-recyclerview-tutorial","tag-swiperefreshlayout"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v21.5 (Yoast SEO v21.5) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Android RecyclerView Pull-to-Refresh Guide - Blog - Silicon Cloud<\/title>\n<meta name=\"description\" content=\"Learn how to implement pull-to-refresh in Android RecyclerView using SwipeRefreshLayout. Step-by-step tutorial with code examples.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.silicloud.com\/blog\/how-can-the-pull-to-refresh-feature-be-implemented-in-the-recyclerview-on-android\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Android RecyclerView Pull-to-Refresh Guide\" \/>\n<meta property=\"og:description\" content=\"Learn how to implement pull-to-refresh in Android RecyclerView using SwipeRefreshLayout. Step-by-step tutorial with code examples.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.silicloud.com\/blog\/how-can-the-pull-to-refresh-feature-be-implemented-in-the-recyclerview-on-android\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog - Silicon Cloud\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/SiliCloudGlobal\/\" \/>\n<meta property=\"article:published_time\" content=\"2024-03-13T07:30:33+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-07-30T21:12:04+00:00\" \/>\n<meta name=\"author\" content=\"Jackson Davis\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@SiliCloudGlobal\" \/>\n<meta name=\"twitter:site\" content=\"@SiliCloudGlobal\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Jackson Davis\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.silicloud.com\/blog\/how-can-the-pull-to-refresh-feature-be-implemented-in-the-recyclerview-on-android\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.silicloud.com\/blog\/how-can-the-pull-to-refresh-feature-be-implemented-in-the-recyclerview-on-android\/\"},\"author\":{\"name\":\"Jackson Davis\",\"@id\":\"https:\/\/www.silicloud.com\/blog\/#\/schema\/person\/55a10b8b0457c35884c25677889ad350\"},\"headline\":\"Android RecyclerView Pull-to-Refresh Guide\",\"datePublished\":\"2024-03-13T07:30:33+00:00\",\"dateModified\":\"2025-07-30T21:12:04+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.silicloud.com\/blog\/how-can-the-pull-to-refresh-feature-be-implemented-in-the-recyclerview-on-android\/\"},\"wordCount\":90,\"publisher\":{\"@id\":\"https:\/\/www.silicloud.com\/blog\/#organization\"},\"keywords\":[\"Android RecyclerView\",\"Android UI\",\"Pull-to-refresh\",\"RecyclerView tutorial\",\"SwipeRefreshLayout\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.silicloud.com\/blog\/how-can-the-pull-to-refresh-feature-be-implemented-in-the-recyclerview-on-android\/\",\"url\":\"https:\/\/www.silicloud.com\/blog\/how-can-the-pull-to-refresh-feature-be-implemented-in-the-recyclerview-on-android\/\",\"name\":\"Android RecyclerView Pull-to-Refresh Guide - Blog - Silicon Cloud\",\"isPartOf\":{\"@id\":\"https:\/\/www.silicloud.com\/blog\/#website\"},\"datePublished\":\"2024-03-13T07:30:33+00:00\",\"dateModified\":\"2025-07-30T21:12:04+00:00\",\"description\":\"Learn how to implement pull-to-refresh in Android RecyclerView using SwipeRefreshLayout. Step-by-step tutorial with code examples.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.silicloud.com\/blog\/how-can-the-pull-to-refresh-feature-be-implemented-in-the-recyclerview-on-android\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.silicloud.com\/blog\/how-can-the-pull-to-refresh-feature-be-implemented-in-the-recyclerview-on-android\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.silicloud.com\/blog\/how-can-the-pull-to-refresh-feature-be-implemented-in-the-recyclerview-on-android\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.silicloud.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Android RecyclerView Pull-to-Refresh Guide\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.silicloud.com\/blog\/#website\",\"url\":\"https:\/\/www.silicloud.com\/blog\/\",\"name\":\"Silicon Cloud Blog\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/www.silicloud.com\/blog\/#organization\"},\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.silicloud.com\/blog\/#organization\",\"name\":\"Silicon Cloud Blog\",\"url\":\"https:\/\/www.silicloud.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.silicloud.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.silicloud.com\/blog\/wp-content\/uploads\/2023\/11\/EN-SILICON-Full.png\",\"contentUrl\":\"https:\/\/www.silicloud.com\/blog\/wp-content\/uploads\/2023\/11\/EN-SILICON-Full.png\",\"width\":1024,\"height\":1024,\"caption\":\"Silicon Cloud Blog\"},\"image\":{\"@id\":\"https:\/\/www.silicloud.com\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/SiliCloudGlobal\/\",\"https:\/\/twitter.com\/SiliCloudGlobal\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.silicloud.com\/blog\/#\/schema\/person\/55a10b8b0457c35884c25677889ad350\",\"name\":\"Jackson Davis\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.silicloud.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/2fdb47d6df1226e92380d96973782572a97b0675d098bb914410dec348eb5d29?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/2fdb47d6df1226e92380d96973782572a97b0675d098bb914410dec348eb5d29?s=96&d=mm&r=g\",\"caption\":\"Jackson Davis\"},\"url\":\"https:\/\/www.silicloud.com\/blog\/author\/jacksondavis\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Android RecyclerView Pull-to-Refresh Guide - Blog - Silicon Cloud","description":"Learn how to implement pull-to-refresh in Android RecyclerView using SwipeRefreshLayout. Step-by-step tutorial with code examples.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.silicloud.com\/blog\/how-can-the-pull-to-refresh-feature-be-implemented-in-the-recyclerview-on-android\/","og_locale":"en_US","og_type":"article","og_title":"Android RecyclerView Pull-to-Refresh Guide","og_description":"Learn how to implement pull-to-refresh in Android RecyclerView using SwipeRefreshLayout. Step-by-step tutorial with code examples.","og_url":"https:\/\/www.silicloud.com\/blog\/how-can-the-pull-to-refresh-feature-be-implemented-in-the-recyclerview-on-android\/","og_site_name":"Blog - Silicon Cloud","article_publisher":"https:\/\/www.facebook.com\/SiliCloudGlobal\/","article_published_time":"2024-03-13T07:30:33+00:00","article_modified_time":"2025-07-30T21:12:04+00:00","author":"Jackson Davis","twitter_card":"summary_large_image","twitter_creator":"@SiliCloudGlobal","twitter_site":"@SiliCloudGlobal","twitter_misc":{"Written by":"Jackson Davis","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.silicloud.com\/blog\/how-can-the-pull-to-refresh-feature-be-implemented-in-the-recyclerview-on-android\/#article","isPartOf":{"@id":"https:\/\/www.silicloud.com\/blog\/how-can-the-pull-to-refresh-feature-be-implemented-in-the-recyclerview-on-android\/"},"author":{"name":"Jackson Davis","@id":"https:\/\/www.silicloud.com\/blog\/#\/schema\/person\/55a10b8b0457c35884c25677889ad350"},"headline":"Android RecyclerView Pull-to-Refresh Guide","datePublished":"2024-03-13T07:30:33+00:00","dateModified":"2025-07-30T21:12:04+00:00","mainEntityOfPage":{"@id":"https:\/\/www.silicloud.com\/blog\/how-can-the-pull-to-refresh-feature-be-implemented-in-the-recyclerview-on-android\/"},"wordCount":90,"publisher":{"@id":"https:\/\/www.silicloud.com\/blog\/#organization"},"keywords":["Android RecyclerView","Android UI","Pull-to-refresh","RecyclerView tutorial","SwipeRefreshLayout"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.silicloud.com\/blog\/how-can-the-pull-to-refresh-feature-be-implemented-in-the-recyclerview-on-android\/","url":"https:\/\/www.silicloud.com\/blog\/how-can-the-pull-to-refresh-feature-be-implemented-in-the-recyclerview-on-android\/","name":"Android RecyclerView Pull-to-Refresh Guide - Blog - Silicon Cloud","isPartOf":{"@id":"https:\/\/www.silicloud.com\/blog\/#website"},"datePublished":"2024-03-13T07:30:33+00:00","dateModified":"2025-07-30T21:12:04+00:00","description":"Learn how to implement pull-to-refresh in Android RecyclerView using SwipeRefreshLayout. Step-by-step tutorial with code examples.","breadcrumb":{"@id":"https:\/\/www.silicloud.com\/blog\/how-can-the-pull-to-refresh-feature-be-implemented-in-the-recyclerview-on-android\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.silicloud.com\/blog\/how-can-the-pull-to-refresh-feature-be-implemented-in-the-recyclerview-on-android\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.silicloud.com\/blog\/how-can-the-pull-to-refresh-feature-be-implemented-in-the-recyclerview-on-android\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.silicloud.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Android RecyclerView Pull-to-Refresh Guide"}]},{"@type":"WebSite","@id":"https:\/\/www.silicloud.com\/blog\/#website","url":"https:\/\/www.silicloud.com\/blog\/","name":"Silicon Cloud Blog","description":"","publisher":{"@id":"https:\/\/www.silicloud.com\/blog\/#organization"},"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.silicloud.com\/blog\/#organization","name":"Silicon Cloud Blog","url":"https:\/\/www.silicloud.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.silicloud.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.silicloud.com\/blog\/wp-content\/uploads\/2023\/11\/EN-SILICON-Full.png","contentUrl":"https:\/\/www.silicloud.com\/blog\/wp-content\/uploads\/2023\/11\/EN-SILICON-Full.png","width":1024,"height":1024,"caption":"Silicon Cloud Blog"},"image":{"@id":"https:\/\/www.silicloud.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/SiliCloudGlobal\/","https:\/\/twitter.com\/SiliCloudGlobal"]},{"@type":"Person","@id":"https:\/\/www.silicloud.com\/blog\/#\/schema\/person\/55a10b8b0457c35884c25677889ad350","name":"Jackson Davis","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.silicloud.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/2fdb47d6df1226e92380d96973782572a97b0675d098bb914410dec348eb5d29?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/2fdb47d6df1226e92380d96973782572a97b0675d098bb914410dec348eb5d29?s=96&d=mm&r=g","caption":"Jackson Davis"},"url":"https:\/\/www.silicloud.com\/blog\/author\/jacksondavis\/"}]}},"_links":{"self":[{"href":"https:\/\/www.silicloud.com\/blog\/wp-json\/wp\/v2\/posts\/3787","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.silicloud.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.silicloud.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/blog\/wp-json\/wp\/v2\/users\/10"}],"replies":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/blog\/wp-json\/wp\/v2\/comments?post=3787"}],"version-history":[{"count":2,"href":"https:\/\/www.silicloud.com\/blog\/wp-json\/wp\/v2\/posts\/3787\/revisions"}],"predecessor-version":[{"id":148457,"href":"https:\/\/www.silicloud.com\/blog\/wp-json\/wp\/v2\/posts\/3787\/revisions\/148457"}],"wp:attachment":[{"href":"https:\/\/www.silicloud.com\/blog\/wp-json\/wp\/v2\/media?parent=3787"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.silicloud.com\/blog\/wp-json\/wp\/v2\/categories?post=3787"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.silicloud.com\/blog\/wp-json\/wp\/v2\/tags?post=3787"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}