Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <ScrollView
- ref={ref => this.scrollView = ref}
- scrollEventThrottle={400}
- onScroll={({nativeEvent}) => {
- this.handleScroll(nativeEvent)
- }}
- keyboardShouldPersistTaps='handled'
- showsVerticalScrollIndicator={false}
- refreshControl={
- <RefreshControl
- refreshing={this.state.refreshing}
- onRefresh={this._onRefresh}
- />
- }
- >
- <View style={[this.state.isSubscribingTab ? this.tabHeight() : style.mianContainer]}>
- <AuctionPosts ref={instance => { this.AuctionPostsChild = instance; }} _onRefreshEnd={this._onRefreshEnd} />
- <View style={style.mainContent}>
- <Tabs ref={component => this._tabs = component} locked={true} tabBarUnderlineStyle={style.tabUnderLine} onChangeTab={({ i }) => this.tabChange(i)}>
- <Tab activeTabStyle={{ backgroundColor: colors.white }} tabStyle={{ backgroundColor: colors.white }} heading={this.state.labels.following ? this.state.labels.following : "Following"} textStyle={style.tabTextStyle} activeTextStyle={style.activeTextTab}>
- <FollowingPosts ref={instance => { this.FollowingPostsChild = instance; }} _onRefreshEnd={this._onRefreshEnd} />
- </Tab>
- <Tab activeTabStyle={{ backgroundColor: colors.white }} tabStyle={{ backgroundColor: colors.white }} heading={this.state.labels.subscribing ? this.state.labels.subscribing : "Subscribing"} textStyle={style.tabTextStyle} activeTextStyle={style.activeTextTab}>
- <SubscribingPosts ref={instance => { this.SubscribingPostsChild = instance; }} subscribingPostCount={this.subscribingPostCount} />
- </Tab>
- </Tabs>
- </View>
- </View>
- </ScrollView>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement