# react-native-refresh-scroll-view

> ## Getting started

Latest version **0.1.3** (published 2017-11-24) · ISC license · 0 weekly downloads

## Install

```sh
npm install react-native-refresh-scroll-view
pnpm add react-native-refresh-scroll-view
yarn add react-native-refresh-scroll-view
bun add react-native-refresh-scroll-view
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.3 |
| Published | 2017-11-24 |
| First published | 2017-11-02 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | ohflying |

## Links

- npm: https://www.npmjs.com/package/react-native-refresh-scroll-view
- npm.io page: https://npm.io/package/react-native-refresh-scroll-view

## Recent versions

- 0.1.3 (latest) — 2017-11-24
- 0.1.2 — 2017-11-23
- 0.1.1 — 2017-11-03
- 0.1.0 — 2017-11-02

## README

# react-native-refresh-scroll-view

## Getting started

`$ npm install react-native-refresh-scroll-view --save`

### Mostly automatic installation

`$ react-native link react-native-refresh-scroll-view`

### Manual installation


#### iOS

1. In XCode, in the project navigator, right click `Libraries` ➜ `Add Files to [your project's name]`
2. Go to `node_modules` ➜ `react-native-refresh-scroll-view` and add `RNRefreshScrollView.xcodeproj`
3. In XCode, in the project navigator, select your project. Add `libRNRefreshScrollView.a` to your project's `Build Phases` ➜ `Link Binary With Libraries`
4. Run your project (`Cmd+R`)<

#### Android

1. Open up `android/app/src/main/java/[...]/MainActivity.java`
  - Add `import com.ohflying.react.RNRefreshScrollViewPackage;` to the imports at the top of the file
  - Add `new RNRefreshScrollViewPackage()` to the list returned by the `getPackages()` method
2. Append the following lines to `android/settings.gradle`:
  	```
  	include ':react-native-refresh-scroll-view'
  	project(':react-native-refresh-scroll-view').projectDir = new File(rootProject.projectDir, 	'../node_modules/react-native-refresh-scroll-view/android')
  	```
3. Insert the following lines inside the dependencies block in `android/app/build.gradle`:
  	```
      compile project(':react-native-refresh-scroll-view')
  	```


## Usage
```javascript
import {RefreshFlatList, PullState} from 'react-native-refresh-scroll-view';

---
_Source: https://npm.io/package/react-native-refresh-scroll-view · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
