Commit 425917e3 authored by Lucas NAURY's avatar Lucas NAURY

Change dataset to show numbers

parent fa7b9f79
...@@ -139,7 +139,7 @@ public class HomeFragment extends Fragment { ...@@ -139,7 +139,7 @@ public class HomeFragment extends Fragment {
private void initDataset() { private void initDataset() {
mDataset = new Annonce[DATASET_COUNT]; mDataset = new Annonce[DATASET_COUNT];
for (int i = 0; i < DATASET_COUNT; i++) { for (int i = 0; i < DATASET_COUNT; i++) {
Annonce annonce = new Annonce("Titre", "Adresse", 0); Annonce annonce = new Annonce("Titre " + i, "Adresse " + i, 0);
mDataset[i] = annonce; mDataset[i] = annonce;
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment