Open jimdc opened 6 years ago
Looks like Android has a built-in feature to monitor connectivity status using broadcast receivers https://developer.android.com/training/monitoring-device-state/connectivity-monitoring.html
It also pays to be mindful of mobile data connection in addition to WiFi https://stackoverflow.com/a/9754897
If one stock has a problem but others are working, it should say error loading price. Should be notified to the user, already has a return value internally.
Email developer automatically if HTML is malformed or if network code gives a redirect (like for NASDAQ, if you use uppercase, because it desires lowercase ticker names).
Resume connection automatically once connection is found, after stopped for error #41