udacity / Sunshine-Version-2

The official repository for Developing Android Apps
Apache License 2.0
2.87k stars 4.41k forks source link

Refresh button not responding after adding code #315

Open jtoguntoye opened 7 years ago

jtoguntoye commented 7 years ago

Hi guys. I tried executing the asyncTask as discussed. Adding myapikey , and editing all my code as expected and No errors when I build my app. Yet when I click on the refresh button in the menu, nothing happens. (App is not crashing as expected). Please I need suggestions on what I'm possibly doing wrong

armoun commented 7 years ago

@jtoguntoye can you show me your forecast activity ?

lovelle3025 commented 7 years ago

I am not near my pc at the moment but i will check later today.

Maria McCoy

On Nov 26, 2016 7:31 AM, "Mohsen Armoun" notifications@github.com wrote:

@jtoguntoye https://github.com/jtoguntoye can you show me your forecast activity ?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/udacity/Sunshine-Version-2/issues/315#issuecomment-263060939, or mute the thread https://github.com/notifications/unsubscribe-auth/AWEclfIWa69JS_kjv1RABnUxMFS5akPLks5rCCafgaJpZM4K1fwJ .

jtoguntoye commented 7 years ago

@Armoun. Thnks. I already figured it out myself. The postal code for my city I added for the execute() task was not recognized by the OWM. I had to change it to city name.

armoun commented 7 years ago

@jtoguntoye COPY AND PASTE YOUR forecast activity.JAVA HERE

tarunkukreja003 commented 7 years ago

I am getting the same error but my postal code is correct, infact i am getting the error "E/OpenGLRenderer: PerfServiceNative_notifyRenderTime init fail!"