marcinmoskala
05/10/2017, 9:16 AMelizarov
05/10/2017, 12:09 PMLoginPresenter
code you keep adding subscription to a subscriptions
list on each login attempt. While this might not be an issue here, how do you write the corresponding code for a longer-running activity?marcinmoskala
05/10/2017, 12:46 PMsubscriptions
is just to dispose them in case of Activity destroy. In standard project I have abstract Presenter and PresenterBaseActivity that are doing this clean-up for me. Like in here:
https://github.com/MarcinMoskala/SimpleKotlinMvpBoilerplateelizarov
05/10/2017, 12:54 PMmarcinmoskala
05/10/2017, 5:26 PM