You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 20, 2022. It is now read-only.
I am writing an app where the user can write notes on the back of the cards. I am using a database to store the notes, so I need to update the values in the database when the card gets flipped back (i.e. the user ends editing).
I tried to look for a delegate method called willFlipCard or something like that, but realised that there is no such method. I tried doing the update in willUnrevealCard but apparently by the time that is called, it is too late. The text view instance is already gone.
How can I do something just before the card gets flipped back?
The text was updated successfully, but these errors were encountered:
I am writing an app where the user can write notes on the back of the cards. I am using a database to store the notes, so I need to update the values in the database when the card gets flipped back (i.e. the user ends editing).
I tried to look for a delegate method called
willFlipCard
or something like that, but realised that there is no such method. I tried doing the update inwillUnrevealCard
but apparently by the time that is called, it is too late. The text view instance is already gone.How can I do something just before the card gets flipped back?
The text was updated successfully, but these errors were encountered: