I have a code that connects to my API and gets values for my spinner in my android application. I want it to populate it with some default values if there is no internet con