This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

how check login in a login page?  RSS feed

 
bharani priya
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i have a Sign in page that should compare d values of the

when comparing values i wrote


and its error, can someone help to clear this errors... thank you in advance.
 
Maneesh Godbole
Bartender
Posts: 11445
18
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the Ranch.

bharani priya wrote:..compare d values of the

Please UseRealWords
In future, while posting code, please UseCodeTags. I have added them for you this time. As you can see the code tags, make the code much more easier to read and understand.
bharani priya wrote:and its error, can someone help to clear this errors... thank you in advance.

What is the error you are getting? Looking at the code you posted
1) == does not do what you think it does. Check out the equals() method
2) There is no method like get Text() (with the white space). Does your code even compile?
3) In case your if condition evaluates to true (after fixing 1&2 above), it does nothing. The braces are empty.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!