@Override protected void onStart() { super.onStart(); taskAnswer = (EditText) findViewById(R.id.taskAnswerEditText); taskDesc = (TextView) findViewById(R.id.taskDescriptionTextView); taskName = (TextView) findViewById(R.id.taskNameTextView); taskName.setText(GlobalVariables.getTask().getName()); taskDesc.setText(GlobalVariables.getTask().getDescription()); }
@Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_task); if (savedInstanceState == null) { getFragmentManager() .beginTransaction() .add(R.id.container, new PlaceholderFragment()) .commit(); } decorationDesigner(); }
@Override public void decorationDesigner() { super.decorationDesigner(); headerTextView.setText(getText(R.string.title_activity_task)); }