@@ -298,7 +298,10 @@ DropDownPicker.setListMode("SCROLLVIEW")
//data parsing goes here
function getInfo(){
- return information
+ if(!information)
+ {Alert.alert("Please try again later! Error retriving data")}
+ else
+ {return information}
}
//data display