How I want to display 2 child node in one firebaserecycleradapter?
<p>I want to retrieve both the <code>Debt</code> node and the <code>Credit</code> node, as show in the following image:</p>

<p><img src="https://i.stack.imgur.com/gVVVr.png" alt=""></p>

<p>Here is the code I tried:</p>

<pre><code>mFirebaseDatabaseReference = FirebaseDatabase.getInstance().getReference().child(MESSAGES_CHILD_Database);
mFirebaseAdapter = new FirebaseRecyclerAdapter&lt;Data,
        DataViewHolder&gt;(
        Data.class,
        R.layout.activity_list_home,
        DataViewHolder.class,
        mFirebaseDatabaseReference.child(MESSAGES_CHILD_CREDIT)) {

    @Override
    protected void populateViewHolder(DataViewHolder viewHolder,
                                      Data data, int position) {
        mProgressBar.setVisibility(ProgressBar.INVISIBLE);
        viewHolder.nameTextView.setText(data.getName());
        viewHolder.dateTextView.setText(data.getDate());
        viewHolder.amountTextView.setText(data.getAmount());
        viewHolder.reasonTextView.setText(data.getReason());
        viewHolder.datePromiseTextView.setText(data.getDatePromise());

    }
};
</code></pre>

<p>currently i only can retrieve Credit without any error</p>

<p>Someone please help me!!</p>