I can make tis for you but i need few bucks for making.
Control all the block and what you got and where you save the data. You call a lot of procedure with no sense , for example as I said you fill a listview and then delete it to fill again in the same procedure .
Here you are working with an empty list and wont to get the first item . So , verify what you have in your variable . I see two Firebase database but only one used . I donât know how you stored your data. All the informations I asked you are to solve your problems.
in my âon text changedâ procedure if I remove âclear listâ it no longer works.
moreover if I use 2 listview, this is one for the left side and one for the right side, maybe it is simpler, moreover I have added a listview for the search area. It works
Of course, there you need a clear block