-2

When I compare between tow values one coming from an EditText and the other from a TextView I always get that they don't match even if they are the same word

Why would that happen?

  • You need to show us your code. We can't help you without the code ... also, you need to add the language and framework that you use in the tags – Mathieu VIALES Oct 23 '17 at 11:30

1 Answers1

0

Are you using == ? you could try and use .equals() instead.

Hope this helps!

Sietse
  • 240
  • 1
  • 14