Android – Activity Constructor vs onCreate

I can’t think of any good reason to do anything in the constructor. You never construct an activity directly, so you can’t use it to pass in parameters. Generally, just do things in onCreate.

Leave a Comment