Last week, we open-sourced LightCycle, an Android library that helps break logic out of
Fragment classes into small, self-contained components called LightCycles.
Components that typically need to be aware of
Fragment lifecycle events include presenters, UI tracking code, input processors and more. We’ve been using LightCycle extensively in the SoundCloud Music & Audio and SoundCloud Pulse apps over the last year.