In my app, I can have web URL starting with "https://" or "http://" or URL with custom scheme starting with "custom://" or "testing://".
I tried using URLUtil.isValidUrl(), but this returns true only if URL starts with http or https.
How can I validate the URL with custom scheme in android?