lifecycle

Interactivity Coordination: onStop and onResume

I have two activities. One loads all rows from a database, and the other saves to the database. When I have the second save in onStop and the first repull the data in onResume, they do it out of order (the first resumes and then the second saves). I managed to fix this by putting the saving data in onPause, but why was this happening? Wa...

Jsf property not saved

I don't really understand why this simple stuff won't work. I can see that I set the constructor is called everytime one property is set. The problem is that when I reach the sendInvitation method then all inviteEmails is null. @Named(value = "adminBean") @RequestScoped public class AdminBean implements Serializable { private Strin...

How does Android's Activity lifecycles work in relation to the entire Application?

This doesn't appear to be well documented or I missed it, so before I run a bunch of my own tests I was wondering if anyone already knows the answers to some of these questions. First off, when I say "Application" I am referring to extending the Application class. http://developer.android.com/reference/android/app/Application.html The...

ASP.net Lifecycle Answer to an interview question

If you were asked in an interview to describe the ASP.net lifecycle what would you answer? What I have memorised so far is... SILVERU or Start Initialization Load Validation Postback Event Handling Render Unload Would giving that list be enough of an answer? I doubt it so if it is not enough then what would one have to say? ...