-
Notifications
You must be signed in to change notification settings - Fork 127
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to handle renderNoMoreCards??? #33
Comments
@sadique007 you can call method in onPress like following ways,
|
THANKS FOR YOUR RESPONSE!! but this is not the answer what I am expecting. |
Hi, @sadique007. Don't know if you resolved this already, but just in case:
If you need to execute that after last card swiped, maybe you can use |
Looks like you are actually looking for the |
how to call a function after all last card swiped.
I have simply added a TouchableHighlight as following:-
renderNoMoreCards={() => <TouchableHighlight onPress={() => this.onPressData()}
style={[styles.buttonContainerSubmit,styles.submitButton]}>
Submit
}
I want to directly call this.onPressData() without any button after swiping all the cards.
if am calling directly like this:-
renderNoMoreCards={this.onPressData() }
then i am not able to swipe the card. this function is executing first
how can I fix this???? prob please help me out
The text was updated successfully, but these errors were encountered: