mdgspace / RotatingText

A periodic text updating library
MIT License
1.58k stars 168 forks source link

Performance improvement #12

Closed Kaishu-Sahu closed 6 years ago

Kaishu-Sahu commented 6 years ago

On every "updateDuration" seconds a new thread gets created and when the number of threads reaches the certain value, it causes ANR.

harjot-oberai commented 6 years ago

I have shifted to Rx to avoid using multiple threads and their lifecycles. Rx handles everything. Checkout the rx-support branch.