I don't why but the code stops execution just before 5th line. I don't know if its a bug or I had wrongly setup for saving Calendar to CalenderEvent using Calendar.presentPickup(). Before calling CalenderEvent.presentEdit()
Turns out. calenderEvent.calender = calSelected command took 532 millisecond for my device to process the request. If I use timer.schedule. The menu popups up as expected.
1
u/nilayperk Aug 26 '21
I don't why but the code stops execution just before 5th line. I don't know if its a bug or I had wrongly setup for saving Calendar to CalenderEvent using Calendar.presentPickup(). Before calling CalenderEvent.presentEdit()
2
u/[deleted] Aug 26 '21
[removed] — view removed comment