Authored by 于良

个人中心优化 review by liben

... ... @@ -96,14 +96,18 @@ export default class MineList extends React.Component {
renderRow={this._renderRow}
renderHeader={this._renderHeader}
onScroll={(event) => {
// console.log('onScrollonScrollonScroll')
// console.log(event.nativeEvent.contentOffset.y)
ReactNative.NativeModules.YH_MineHelper.updateNavBarState(event.nativeEvent.contentOffset.y);
if (Platform.OS === 'ios' && event.nativeEvent.contentOffset.y < -60) {
}}
onScrollEndDrag={(event) => {
if (profile.uid != '0' && Platform.OS === 'ios' && event.nativeEvent.contentOffset.y < -60) {
this.props.onMineCenterRefresh && this.props.onMineCenterRefresh();
}
}}
refreshControl=
{
Platform.OS === 'ios' ? null:
profile.uid == '0' || Platform.OS === 'ios' ? null:
<RefreshControl
refreshing={false}
onRefresh={() => {
... ...