public abstract class AbstractFeaturePresenter<T_View extends View> extends AbstractPresenter<T_View> implements FeaturePresenter
AbstractFeaturePresenter
extends AbstractPresenter
to provide an abstract base class
for implementing FeaturePresenter
s that are controlled by Feature
s.listeners
Constructor and Description |
---|
AbstractFeaturePresenter() |
Modifier and Type | Method and Description |
---|---|
Feature |
getFeature()
Gets the
Feature that controls this FeaturePresenter . |
DependencyScope |
getScope() |
void |
setFeature(Feature feature)
Sets the
Feature that controls this FeaturePresenter . |
void |
setScope(DependencyScope scope) |
finish, getAttachedView, getInterfaceClass, getListeners, getParams, getView, getViewPlug, getViewState, isAttached, onPlugged, onPluginPlugged, onUnplugged, onViewCreated, onViewDestroy, onViewPause, onViewResume, onViewStart, onViewStop, plug, plug, setParams, unplug, updateListeners
destroy, getLifecycleState, getState, isDestroyed, isPaused, isRestarted, isResumed, isStarted, isStopped, onCreate, onDestroy, onPause, onRestart, onResume, onStart, onStop, pause, restart, resume, start, start, stop
onPluginUnplugged
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
onViewCreated, onViewDestroy, onViewPause, onViewResume, onViewStart, onViewStop
onPluginUnplugged
public Feature getFeature()
FeaturePresenter
Feature
that controls this FeaturePresenter
.getFeature
in interface FeaturePresenter
Feature
.public void setFeature(Feature feature)
FeaturePresenter
Feature
that controls this FeaturePresenter
.setFeature
in interface FeaturePresenter
feature
- A Feature
.public DependencyScope getScope()
public void setScope(DependencyScope scope)