title: Is OnCreate() The Best Place To Set Text?
body: <p>I am passing data from Activity A to MessageDetailActivity. Is OnCreate() the right place to set the text?    </p>
  
  <pre><code>public class MessageDetailActivity extends Activity {
  
          private TextView bodyTextView;
           /** Called when the activity is first created. */
          @Override
          public void onCreate(Bundle savedInstanceState) {
              super.onCreate(savedInstanceState);
              setupUI();
          }
  
          public void setupUI(){
              Bundle bundle = getIntent().getExtras();
  
              this.bodyTextView = (TextView) findViewById(R.id.bodyTextView);
              Log.d("VALUE IS", bundle.getString("message"));
              Toast.makeText(getApplicationContext(), bundle.getString("message"),Toast.LENGTH_SHORT).show();
              bodyTextView.setText(bundle.getString("message"));
          }
      }
  </code></pre>