I am trying to create a screen which has an EditText
where an url needs to be entered and a Verify
button which will be highlighted when a valid url is entered.
I wanted to know what is the logic to find whether a url entered is valid or not? Should I look for .com
string in the edittext or is there any other logic? and How can I get the text as and when user enters a character so that the button gets highlighted as soon as a valid url is entered.
Thanks in advance.