dr0pdb / My-Companion

:computer: :notebook_with_decorative_cover: Android app that caters to the need of an undergraduate student
18 stars 37 forks source link

added edit functionality to the flash cards #10

Closed andyb129 closed 5 years ago

andyb129 commented 7 years ago

hopefully this is what you were thinking when adding edit functionality to the flash cards? :-)

Cosmopal commented 7 years ago

Not exactly, but I think this would be fine. Add the delete option also in the ShowFlashCardDetails options, which was there in the initially?

case (R.id.flashcard_delete): FlashCard.getFlashCardFromID(this,mFlashCard.getContentID()).deleteFromDB(this,true); return true;

And why finish the activity after update? //Returning to the FlashCardsHomeActivity finish();

Just toggle again?

Cosmopal commented 7 years ago

@andyb129 can you add the above in the code? or @srv-twry merge it and then I'll add them (again) ?