Answer the question
In order to leave comments, you need to log in
How to call private void (ANDROID)?
Hello!
I have a problem, there is a fragment in which there are several Edittext. I use PullOnRefresh (you can find the library on GitHub) and the application crashes when OnRefreshStarted is processed.
The code is something like this:
OnCreateView... {
...
onRefreshStarted(View view) {
Go();
}
private void Go() {
//Действия с edittext
if (a.getText().toString().length() == 0 ){
a.setText("1");
}
if (b.getText().toString().length() == 0 ){
b.setText("1");
}
if (c.getText().toString().length() == 0){
c.setText("1");
}
...
}
return rootview;
...
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question