Skip to content
This repository has been archived by the owner on Jul 21, 2023. It is now read-only.

Commit

Permalink
SODEV-24207 - use deprecated ListView
Browse files Browse the repository at this point in the history
RN 0.60 has removed ListView so we have to use the package that extracts
it from RN
  • Loading branch information
shercoder committed Jun 11, 2020
1 parent 2b9f891 commit f837084
Show file tree
Hide file tree
Showing 3 changed files with 215 additions and 4 deletions.
2 changes: 1 addition & 1 deletion library/ViewPager.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@ import React, { Component } from 'react';
import PropTypes from 'prop-types';
import {
View,
ListView,
Platform
} from 'react-native';

import Scroller from 'react-native-scroller';
import {createResponder} from 'react-native-gesture-responder';
import TimerMixin from 'react-timer-mixin';
import reactMixin from 'react-mixin';
import ListView from 'deprecated-react-native-listview';

const MIN_FLING_VELOCITY = 0.5;

Expand Down
210 changes: 210 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@buildcom/react-native-view-pager",
"version": "0.1.3",
"version": "0.2.0",
"description": "",
"main": "library/ViewPager.js",
"scripts": {
Expand All @@ -9,9 +9,10 @@
"author": "",
"license": "ISC",
"dependencies": {
"deprecated-react-native-listview": "0.0.6",
"react-mixin": "3.1.1",
"react-native-gesture-responder": "buildcom/react-native-gesture-responder#v0.2.0",
"react-native-scroller": "buildcom/react-native-scroller#v0.0.6",
"react-mixin": "^3.0.5",
"react-timer-mixin": "^0.13.3"
"react-timer-mixin": "0.13.4"
}
}

0 comments on commit f837084

Please sign in to comment.