Comments (3)
That's always entertaining -- I should note I tested on an emulator rather than my device (both Pixel 4a).
I'd go with Retrofit -- there are notes on this coming up in module 10 that outline the differences a little more.
from weather.
Hi Nicole,
This is a really perplexing issue if it works for you. Both Volley and Retrofit aren't working for me with both the desired weather API and the current test API with my HEAD checked out at 178a6ea. I cannot see any response in logcat and have attempted the connection on 3 seperate internet connections and the content appears fine on a browser.
I've used my actual Pixel 4 XL for testing instead of the emulator and inspecting the logcat on my Android device over ADB, it appears the connection is working. I'm not exactly sure what the issue here may be but I guess for now I'll deploy on my phone rather than an emulator.
If you have any suggestions they'd be appreciated. Not even using my phone's hotspot for the laptop works so I'm really uncertain.
While I've got you here, is there any preference of using Volley over Retrofit or vice versa in terms of good practices?
Thank you for your help,
Eamon
from weather.
Ah so after some further investigation, it turns out my emulator had no internet connection whatsoever. After following the steps at https://stackoverflow.com/a/57305704 my issue appears to be fixed and a connection can be established. Apologies and thanks for your help!
from weather.
Related Issues (1)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from weather.