
Security News
Feross on TBPN: How North Korea Hijacked Axios
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.
react-native-pullview
Advanced tools
PullView component in React Native both for Android and iOS, pull to refresh
This is the PullView component in React Native both for Android and iOS, pull to refresh, very useful & easily
This is a JavaScript-only implementation of PullView in React Native. Like ScrollView, this can host multiple components and views. Better than scrollview in Android, this PullView can be pull down, then show top indicator, the top indicator have three state: pulling, pullok, pullrelease. And more, you can use refreshControl to provide pull-to-refresh same as scrollview.
Demo project: https://github.com/greatbsky/react-native-pullview-demo

npm install react-native-pullview --saveimport PullView from 'react-native-pullview';
onPullRelease(resolve) {
//do something
resolve();
}
<PullView onPullRelease={this.onPullRelease}>
//sth...
</PullView>
pull down props
onPulling: handle function when pullingonPullOk: handle function when pullokonPullRelease: handle function when pullreleasetopIndicatorRender: top indicator render function, access 3 argument: ispulling, ispullok, ispullreleasetopIndicatorHeight: top indicator height, require if define topIndicatorRenderisPullEnd: whether release pull, if true, will hide top indicator, not requireother, refreshcontrol props support onRefresh & refreshing if you want to use refreshcontrol like scrollview.
onRefresh: Called when the view starts refreshingrefreshing: Whether the view should be indicating an active refresh.MIT License
FAQs
PullView component in React Native both for Android and iOS, pull to refresh
The npm package react-native-pullview receives a total of 11 weekly downloads. As such, react-native-pullview popularity was classified as not popular.
We found that react-native-pullview demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.

Security News
OpenSSF has issued a high-severity advisory warning open source developers of an active Slack-based campaign using impersonation to deliver malware.

Research
/Security News
Malicious packages published to npm, PyPI, Go Modules, crates.io, and Packagist impersonate developer tooling to fetch staged malware, steal credentials and wallets, and enable remote access.