Closed nirvik66 closed 6 years ago
@nirvik66 The log state that LOADING
started:
03-03 21:43:28.767 10149-10149/? D/Main: Res = Resource(status=LOADING, data=null, message=null)
03-03 21:43:28.767 10149-10149/? D/Main: Data = null
03-03 21:43:28.807 10149-10149/? D/Main: Res = Resource(status=LOADING, data=[], message=null)
03-03 21:43:28.807 10149-10149/? D/Main: Data = []
But there is no log of error or success.
Kindly check the following points:
NEWS_API_KEY
in the gradle.properties
.Thanks for your quick response! It's weird but the code wasn't working using the emulator. I tried on a real device and it's working fine! Sorry for the inconvenience
No problem. Then probably your emulator was not connected to web. I had faced this problem before.
I tried running your project but all I get is a blank screen.
Here are the logs,
The app requests the news to the network, but it never updates with the proper data.
Can anyone double check if it's working?
Thanks