Commit 6230c01288748a69cb9899b57827d7329e9452e3
1 parent
e11e96d0
Correction sur le retour du network thread
Showing
1 changed file
with
1 additions
and
0 deletions
Show diff stats
PremiereActivite/app/src/main/java/com/example/app_10p5/CarteActivite.java
@@ -188,6 +188,7 @@ public class CarteActivite extends Activity implements ASyncResponse { | @@ -188,6 +188,7 @@ public class CarteActivite extends Activity implements ASyncResponse { | ||
188 | try { | 188 | try { |
189 | URL url = new URL(HOST + mAPI); | 189 | URL url = new URL(HOST + mAPI); |
190 | NetworkThread nt = new NetworkThread(url, mParam); | 190 | NetworkThread nt = new NetworkThread(url, mParam); |
191 | + nt.delegate = this; | ||
191 | nt.execute(); | 192 | nt.execute(); |
192 | } | 193 | } |
193 | catch (Throwable t){ | 194 | catch (Throwable t){ |