'RecyclerView scrolls automatically when textView is updated by CountDownTimer

I have a recyclerView inside a fragment. When I hide a png image in the itemView and show another hidden image which loads a gif animation by Glide and update a textView in the itemView using CountDownTimer, the recyclerView keeps on moving upward slightly until it hits the end. And the moving pace seems to be consistent with one second in CountDownTimer. This problem seems to come from updating the textView continuously.

What is the issue here and how to fix it?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source