0
Anyone know the code that i need to make that 2 Edit Text has to be the same Text.
Anyone know the code that i need to make that 2 Edit Text has to be the same Text. As password and confirm password and if these are not the same, leave a text saying that it is not the same. this is done in android studio and it is activated by clicking the register button in java language
6 Respostas
0
I think you are looking for the method equals()
+ 1
Thank you so much
0
Maybe but i dont know how make the code
0
Can you show the code what you have already written?
0
I do not have any code written for the same reason that I do not know what I need, I only have 2 Edit Text
0
OK then, generally it works like this: string1.equals(string2) it returns a boolean. I hope it helps...