Firebase Android how to handle onChildAdded
<p>How to handle onChildAdded event in firebase android. 
below is my database json structure</p>

<pre><code> {
    message{
            "id"=10;
            "name"="xyz"
           }
 }

    public void onChildAdded(DataSnapshot dataSnapshot, String s) {

           // how can I handle the particular child that has added
        }
</code></pre>

<p>this method triggers when a new child is added to my reference node. But how can I get the value for the particular child with out typecasting </p>