title: Is it bad practice to initialize variables before calling onCreate?
body: <p>I have been wondering, as I'm new to Android, if it's bad practice to initialize a variable such as a Context object, in the fields declaration of a class before calling onCreate(). I am pasting a picture of what I'm talking about. Take a look at how and when I initialize the Context object. When is this instantiated compared to onCreate and can I trust it to be initialized everytime I call this class?</p>
  
  <p><a href="https://i.stack.imgur.com/BrRWe.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/BrRWe.png" alt="enter image description here"></a></p>