Called when a view created by this presenter has been attached to a window.
This can be used as a reasonable signal that the view is about to be seen
by the user. If the adapter previously freed any resources in
onViewDetachedFromWindow(ViewHolder)
those resources should be restored here.
Parameters
holder
Presenter.ViewHolder: Holder of the view being attached
Called when a view created by this presenter has been detached from its window.
Becoming detached from the window is not necessarily a permanent condition;
the consumer of an presenter's views may choose to cache views offscreen while they
are not visible, attaching and detaching them as appropriate.
Any view property animations should be cancelled here or the view may fail
to be recycled.
Parameters
holder
Presenter.ViewHolder: Holder of the view being detached