android - How to update activity's layout after resume from other activity ? -


I have implemented a timetable and I want to know how to update the time table activity (of this activity Layout) To be more specific after adding an event to a different activity, the layout of the timetable has the "Add Event" button and then the new activity is opened and then I want to come back to the layout of the timetable and the new event Show me

Where do I say code which updates the timetable layout? Thank you ...

You override the onResume method of your timetable activity can do .

  @ Override Public Wide On Resume () {// Your Update Code Here}  

[is the honorable method] When Called Your activity activity at the top of the stack, in which the user is getting the input, will start the conversation with the user.


Comments

Popular posts from this blog

java - org.apache.http.ProtocolException: Target host is not specified -

java - Gradle dependencies: compile project by relative path -

ruby on rails - Object doesn't support #inspect when used with .include -