# Pull to Refresh

### <mark style="color:green;">What is Pull to Refresh?</mark>

This extension gives the user ability to refresh the current page by swiping down from the top of the screen.

### <mark style="color:green;">How to setup pull to refresh?</mark>

<figure><img src="/files/hB7Mgccm0BTViVkfmCrq" alt=""><figcaption></figcaption></figure>

**1.)** Go to Add-ons --> Extensions --> Pull to Refresh & Enable it.

<mark style="color:red;">**NOTE:**</mark> <mark style="color:red;">Please create a new version of the App e.x. 1.0.2, if the current version does not support this feature. If the previous version is live on the stores, then request a new build and submit this new version to the stores.</mark>

**2.)** Select a loader color to match your brand color.

**3.)** Save as a draft.

### <mark style="color:green;">How to test Pull to Refresh in</mark> [Twinr Previewer App](https://play.google.com/store/apps/details?id=com.twinr.builder.previewer)<mark style="color:green;">?</mark>

### ![](/files/Hj2ApA3KHQoplvZaPz3W)

Once you are done with the customization, open the app in previewer or refresh it from the floating hamburger button. You will be able to see the loader you have customized.

### <mark style="color:green;">Common Questions</mark>

<details>

<summary><strong>Do I need to submit new version everytime I edit the refresh Loader?</strong></summary>

**Answer:** No, just do the changes, save it and click on publish to production. Your LIVE app will have the changes right away.

</details>

<details>

<summary><strong>Do I need to publish new version after enabling/disabling Pull to refresh?</strong></summary>

**Answer:** No, enable/disable the loader, save it and click on publish to production. Your LIVE app will have the changes right away.

</details>

<details>

<summary><strong>Why is the pull to refresh enabled by default?</strong></summary>

**Answer:** Some applications add data while the user is scrolling down the page. It is always recommended to have the pull to refresh in this kind of app.

</details>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://help.twinr.dev/extensions/pull-to-refresh.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
