ViewPager changes the way a method works?

0

I've created an app that gives the value of X and Y in a linear system of two variables. Using these ( link and link ) tutorials, in another project, I was based on the old one and I added a tab to perform the procedure with three variables, and the fragment that makes it is still empty. Well, I used the same method that does the calculation, making the appropriate statements. The problem is that when you convert the EditText element to String, the app stops, and it works perfectly in the old project ...

x = readX.getText().toString();
x2 = readX2.getText().toString();
y = readY.getText().toString();
y2 = readY2.getText().toString();
tInd = Ind.getText().toString();
tInd2 = Ind2.getText().toString();
    
asked by anonymous 17.08.2016 / 19:01

0 answers