Data is repeated in collintree list view from firebase db

The problem is here:

You are adding values each time when you are getting value.
It means it will add data in this order:
(1)
(1 1 2)
(1 1 1 2 2 2 3)
So use AddElement method.

3 Likes