addListener

open override fun addListener(listener: IRequestHelper.Listener): Boolean

Adds a new listener that will be notified when any request load state changes: co.anitrend.arch.domain.entities.LoadState.

Return

Boolean indicating whether or not listener has been added

Parameters

listener

The listener that will be notified each time a request's status changes.