mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-25 12:55:41 +08:00
Use RecyclerViewBackedScrollView in groups feed on Android.
Differential Revision: D2549975 fb-gh-sync-id: 98689a58a69ce8425c695acf74701509816821ae
This commit is contained in:
committed by
facebook-github-bot-7
parent
0ed3048e39
commit
8e2ec64763
@@ -55,7 +55,7 @@ var RecyclerViewBackedScrollView = React.createClass({
|
||||
...ScrollView.propTypes,
|
||||
},
|
||||
|
||||
mixins: [ScrollResponder.Mixin, NativeMethodsMixin],
|
||||
mixins: [ScrollResponder.Mixin],
|
||||
|
||||
getInitialState: function() {
|
||||
return this.scrollResponderMixinGetInitialState();
|
||||
@@ -69,6 +69,10 @@ var RecyclerViewBackedScrollView = React.createClass({
|
||||
return React.findNodeHandle(this.refs[INNERVIEW]);
|
||||
},
|
||||
|
||||
setNativeProps: function(props: Object) {
|
||||
this.refs[INNERVIEW].setNativeProps(props);
|
||||
},
|
||||
|
||||
render: function() {
|
||||
var props = {
|
||||
...this.props,
|
||||
|
||||
Reference in New Issue
Block a user