Wednesday, February 14, 2018

Android Studio - Java - Error while evaluating a String

this is my code:



public String TakeText;
...


TakeText = startBox.getText().toString();
if (marker == null && TakeText == Text1)

{...}


Android Studio debug tool shows me that TakeText="WoW" and Text1="WoW" and at the same time that TakeText == Text1 is false.



Why?

No comments:

Post a Comment

plot explanation - Why did Peaches' mom hang on the tree? - Movies & TV

In the middle of the movie Ice Age: Continental Drift Peaches' mom asked Peaches to go to sleep. Then, she hung on the tree. This parti...