| Line 38... |
Line 38... |
| 38 |
// Si la requête est un succès, reception d'un objet ou d'un tableau
|
38 |
// Si la requête est un succès, reception d'un objet ou d'un tableau
|
| 39 |
if (responseValue.isObject() != null) {
|
39 |
if (responseValue.isObject() != null) {
|
| 40 |
final JSONObject reponse = responseValue.isObject();
|
40 |
final JSONObject reponse = responseValue.isObject();
|
| 41 |
Collection collection = new Collection(reponse);
|
41 |
Collection collection = new Collection(reponse);
|
| 42 |
CollectionBotanique collectionBotanique = new CollectionBotanique(reponse);
|
42 |
CollectionBotanique collectionBotanique = new CollectionBotanique(reponse);
|
| - |
|
43 |
collection.setBotanique(collectionBotanique);
|
| Line 43... |
Line 44... |
| 43 |
|
44 |
|
| 44 |
Information info = new Information("selection_collection");
|
45 |
Information info = new Information("selection_collection");
|
| 45 |
info.setDonnee(0, collection);
|
- |
|
| 46 |
info.setDonnee(1, collectionBotanique);
|
46 |
info.setDonnee(0, collection);
|
| 47 |
vueARafraichir.rafraichir(info);
|
47 |
vueARafraichir.rafraichir(info);
|
| 48 |
} else if (responseValue.isArray() != null) {
|
48 |
} else if (responseValue.isArray() != null) {
|
| 49 |
final JSONArray reponse = responseValue.isArray();
|
49 |
final JSONArray reponse = responseValue.isArray();
|
| 50 |
CollectionListe collections = new CollectionListe(reponse);
|
50 |
CollectionListe collections = new CollectionListe(reponse);
|