SupportListPresenter

Presenter for list fragments

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open override fun onCreate(owner: LifecycleOwner)
Link copied to clipboard
open override fun onCreateView(fragmentList: ISupportFragmentList<T>, view: View?)

Mirrors controller lifecycle state for creating view

Link copied to clipboard
open override fun onDestroy(owner: LifecycleOwner)

Notifies that ON_DESTROY event occurred.

Link copied to clipboard
open override fun onNetworkObserverChanged(fragmentList: ISupportFragmentList<T>, loadState: LoadState)

Informs the underlying ISupportStateLayout of changes to the LoadState

Link copied to clipboard
open override fun onPause(owner: LifecycleOwner)
Link copied to clipboard
open override fun onResume(owner: LifecycleOwner)
Link copied to clipboard
open override fun onStart(owner: LifecycleOwner)
Link copied to clipboard
open override fun onStop(owner: LifecycleOwner)

Notifies that ON_STOP event occurred.

Link copied to clipboard
open override fun resetWidgetStates()

Checks and resets swipe refresh layout and snack bar states