Okay, there must be an easy approach I'm missing here, but I'm drawing a blank. I have a custom ListView
that gets some of its images from files on the external storage, some from the internet, and if neither of those it displays a PNG file from the drawable folder. For my logic, I need to be able to tell if a String
(image location) is an URL type or File type.
So, how would I be able to tell if a String
is in URL format or File format?