This is a migrated thread and some comments may be shown as answers.

Add event

1 Answer 53 Views
Calendar
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Wong
Top achievements
Rank 1
Wong asked on 01 Jan 2016, 03:44 AM

i ' ve create two active the one is the main(provide calendar view ) the other on is event add (contain some editText), how can i pass the data from the eventadd active to the mainactivity and show it on the calendar view .

 

i want to develop a function that user can add their own event

1 Answer, 1 is accepted

Sort by
0
Todor
Telerik team
answered on 05 Jan 2016, 06:07 PM
Hi Wong,

Thank you for contacting us.

Depending on the way your application stores the information about the events, you may choose a different way to store the new event. Here' s one way to do it - by using the Extras of the Intent that you are using to navigate between the two Activities. Then after your event information is updated, all you need to do is to call the calendar's notifyDataChanged method and the events will be updated.

I hope this information helps.

Regards,
Todor
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
Calendar
Asked by
Wong
Top achievements
Rank 1
Answers by
Todor
Telerik team
Share this question
or