Hi rvkvino,

it's very hard to understand what is going on from the code you shown, as it its not clear where it is located inside your adapter.
That said, at first glance it seems that you are running against some race conditions, as you are checking liveratesold.size() outside the synchronized blocks on which it could be modified.

Try to move size checks inside synchronized blocks and get back to us.

Gianluca