I am working on an Alarm Clock project and i want to edit my already set Alarm.
when I edit alarm then alarm time is updated but values that I send by using putExtra()
are not changing. I am using PendingIntent.FLAG_ONE_SHOT
flag.
But when I set flag PendingIntent.FLAG_UPDATE_CURRENT
all putExtra()
values are also change but now problem is that, when i click on stop button and finish()
the current activity it calls again.
means when I go to finish the activity it calls again on button click while I am finishing current activity. please help me. Thanks in advance.