Wednesday, 14 February 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

casting - Why wasn't Tobey Maguire in The Amazing Spider-Man? - Movies & TV

In the Spider-Man franchise, Tobey Maguire is an outstanding performer as a Spider-Man and also reprised his role in the sequels Spider-Man...