I have been working on a project. In my project, I use a textview that warns the user about the process. For example(Getting values 5/90..). My code is like that;
.....
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.mylout);
Intent i = getIntent();
Bundle extras = i.getExtras();
filename = extras.getString("videofilename");
// here I call some functions that use filename string.
}
and I change the value of textview in the process. but the value of textview change after the process. I only see a black screen during process although in mylout there are some views. I see the last state of textview when process ends.
How can I see the changes of my Textview during my process. I think it is because I put my code in oncreate function. What do you think about it? How can I fix it?
.....
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.mylout);
Intent i = getIntent();
Bundle extras = i.getExtras();
filename = extras.getString("videofilename");
// here I call some functions that use filename string.
}
and I change the value of textview in the process. but the value of textview change after the process. I only see a black screen during process although in mylout there are some views. I see the last state of textview when process ends.
How can I see the changes of my Textview during my process. I think it is because I put my code in oncreate function. What do you think about it? How can I fix it?