Skip to content

Commit

Permalink
Remove ListView and SwipeableListView from React Native
Browse files Browse the repository at this point in the history
Summary:
This diff removes ListView and SwipeableListView from React Native:
* Removes the code and all examples
* Removes the exports on `react-native-implementation` but leaves an error message in dev mode only
* Uses `deprecated-react-native-listview` for `ListView` and `deprecated-react-native-swipeable-listview` for `SwipeableListView`

Both ListView and SwipeableListView are now fully removed from React Native in open source and we will continue to use the deprecated packages internally.

Reviewed By: TheSavior

Differential Revision: D14181708

fbshipit-source-id: 5030c33791f998567de058fee934449c16fa1d54
  • Loading branch information
cpojer authored and facebook-github-bot committed Feb 26, 2019
1 parent 4ba304d commit 14d9b2d
Show file tree
Hide file tree
Showing 18 changed files with 32 additions and 2,577 deletions.
6 changes: 2 additions & 4 deletions Libraries/Experimental/SwipeableRow/SwipeableFlatList.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,10 @@ type State = {|
* A container component that renders multiple SwipeableRow's in a FlatList
* implementation. This is designed to be a drop-in replacement for the
* standard React Native `FlatList`, so use it as if it were a FlatList, but
* with extra props, i.e.
*
* <SwipeableListView renderRow={..} renderQuickActions={..} {..FlatList props} />
* with extra props.
*
* SwipeableRow can be used independently of this component, but the main
* benefit of using this component is
* benefits of using this component are:
*
* - It ensures that at most 1 row is swiped open (auto closes others)
* - It can bounce the 1st row of the list so users know it's swipeable
Expand Down
244 changes: 0 additions & 244 deletions Libraries/Experimental/SwipeableRow/SwipeableListView.js

This file was deleted.

116 changes: 0 additions & 116 deletions Libraries/Experimental/SwipeableRow/SwipeableListViewDataSource.js

This file was deleted.

Loading

0 comments on commit 14d9b2d

Please sign in to comment.