Closed bangarharshit closed 6 years ago
To add custom classes with lifecycle such as Conductor
or Flow
use some kind of marker interface or annotation.
public interface HasLifeCycle { }
Fixed it with a errorprone flag. Will add to documentation.
- XepOpt:LifeCycleClasses=com.rx.errorprone.ComponentWithLifeCycle
Currently dangling subscription issues a warning even in the app scope. Keep it applicable only to
activity+
level scope.