Bonjour je Cherche a Remplir une Listview avec un Tableau d'objets (ou meme String ca m'irai)

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
 
    mListView = (ListView) findViewById(R.id.list_view);
 
 
        userRef.addChildEventListener(new ChildEventListener() {
            @Override
            public void onChildAdded(@NonNull DataSnapshot dataSnapshot, @Nullable String s) {
 
 
                   String address = dataSnapshot.child("Adresse").getValue(String.class);
                   String txt = dataSnapshot.child("Txt").getValue(String.class);
 String zone = dataSnapshot.child("Zone").getValue(String.class);DI di = new DI(zone,address,txt);
               String[]dil = new String[] {di.toString()};
                ArrayAdapter adapter = new ArrayAdapter<String>(List.this, android.R.layout.simple_list_item_1, dil);
                arrayAdapter.add("123");
                mListView.setAdapter(adapter);
                Log.d("TAG", zone + " / " + address + " - " + txt);
 
 
 
            }
Je pige que dalle aux Adapteur (le JAVA étant pas ma tasse de thé)

Un petit coup de main serai le bienvenue,
A terme j'aimerai aussi insérer des images

Merci d'avance