First of all thanks for reading and spending your time for solving this problem.
I have some Acivities which each contain a button for going to next. The last One contains a TextView which i want to append()
a text each activity has finished its job. I used static to access the TextView but because the activity which contain textView is the last one running i get NullException.
I'll appreciate any advice.
thanks ;)
the last activity:
public class FinishActivity extends Activity {
static TextView textViewResult;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.finish_layout);
textViewResult = (TextView)findViewById(R.id.textViewResult);
}
}