A B C G I M O P R S V 

A

addViewState(ViewState) - Method in class com.rey.mvp.impl.MvpActivityDelegate
 
addViewState(ViewState) - Method in interface com.rey.mvp.ViewStateCache
 

B

BasePresenter<V,S extends ViewState> - Class in com.rey.mvp
A base Presenter class.
BasePresenter() - Constructor for class com.rey.mvp.BasePresenter
 
BaseViewState - Class in com.rey.mvp
Created by Rey on 11/16/2015.
BaseViewState() - Constructor for class com.rey.mvp.BaseViewState
 

C

CacheFactory - Interface in com.rey.mvp
Created by Rey on 11/20/2015.
com.rey.mvp - package com.rey.mvp
 
com.rey.mvp.impl - package com.rey.mvp.impl
 
createPresenter() - Method in interface com.rey.mvp.PresenterFactory
Create a new instance of a Presenter
createViewState() - Method in interface com.rey.mvp.ViewStateFactory
Create a new instance of a ViewState

G

generatePresenterId() - Method in class com.rey.mvp.impl.MvpActivityDelegate
 
generatePresenterId() - Method in interface com.rey.mvp.PresenterCache
 
getCacheFactory() - Method in class com.rey.mvp.impl.MvpFragment
The default implementation try cast the Activity to CacheFactory.
getPersistentObject() - Method in class com.rey.mvp.impl.MvpActivityDelegate
 
getPresenter(int) - Method in class com.rey.mvp.impl.MvpActivityDelegate
 
getPresenter() - Method in class com.rey.mvp.impl.MvpDelegate
 
getPresenter() - Method in class com.rey.mvp.impl.MvpFragment
 
getPresenter(int) - Method in interface com.rey.mvp.PresenterCache
 
getPresenterCache() - Method in interface com.rey.mvp.CacheFactory
 
getPresenterCache() - Method in class com.rey.mvp.impl.MvpActivity
 
getTag() - Method in class com.rey.mvp.BaseViewState
 
getTag() - Method in interface com.rey.mvp.ViewState
Get an unique tag to save this ViewState's state to ViewStateCache.
getViewImpl() - Method in class com.rey.mvp.impl.MvpFragment
 
getViewState(String) - Method in class com.rey.mvp.impl.MvpActivityDelegate
 
getViewState(String) - Method in interface com.rey.mvp.ViewStateCache
 
getViewStateCache() - Method in interface com.rey.mvp.CacheFactory
 
getViewStateCache() - Method in class com.rey.mvp.impl.MvpActivity
 
getViewStateTag() - Method in class com.rey.mvp.impl.MvpFragment
 
getViewStateTag() - Method in interface com.rey.mvp.ViewStateFactory
Generate a unique tag for ViewState

I

isDestroyedBySystem() - Method in class com.rey.mvp.impl.MvpDelegate
 
isDestroyedBySystem() - Method in class com.rey.mvp.impl.MvpFragment
 

M

mPresenters - Variable in class com.rey.mvp.BaseViewState
 
mTag - Variable in class com.rey.mvp.BaseViewState
 
mView - Variable in class com.rey.mvp.BasePresenter
 
mViewState - Variable in class com.rey.mvp.BasePresenter
 
mViewStateFactory - Variable in class com.rey.mvp.impl.MvpFragment
 
mViewVisible - Variable in class com.rey.mvp.BasePresenter
 
MvpActivity - Class in com.rey.mvp.impl
An Activity that implement CacheFactory
MvpActivity() - Constructor for class com.rey.mvp.impl.MvpActivity
 
MvpActivityDelegate - Class in com.rey.mvp.impl
Created by Rey on 11/20/2015.
MvpActivityDelegate() - Constructor for class com.rey.mvp.impl.MvpActivityDelegate
 
MvpDelegate<V,P extends Presenter<V,S>,S extends ViewState> - Class in com.rey.mvp.impl
 
MvpDelegate() - Constructor for class com.rey.mvp.impl.MvpDelegate
 
MvpFragment<V,P extends Presenter<V,S>,S extends ViewState> - Class in com.rey.mvp.impl
A base Fragment class that handle presenter construction, calling and caching.
MvpFragment() - Constructor for class com.rey.mvp.impl.MvpFragment
 

O

onAttachView(V) - Method in class com.rey.mvp.BasePresenter
 
onAttachView(V) - Method in interface com.rey.mvp.Presenter
Attach your view to this presenter.
onBind(Presenter) - Method in class com.rey.mvp.BaseViewState
 
onBind(Presenter) - Method in interface com.rey.mvp.ViewState
Called when bind this ViewState to a Presenter.
onCreate(S) - Method in class com.rey.mvp.BasePresenter
 
onCreate(Bundle) - Method in class com.rey.mvp.impl.MvpActivity
 
onCreate(Bundle, Object) - Method in class com.rey.mvp.impl.MvpActivityDelegate
 
onCreate(PresenterCache, ViewStateCache, Bundle, PresenterFactory<P>, ViewStateFactory<S>) - Method in class com.rey.mvp.impl.MvpDelegate
 
onCreate(Bundle) - Method in class com.rey.mvp.impl.MvpFragment
 
onCreate(S) - Method in interface com.rey.mvp.Presenter
Called when the presenter gets created.
onCreatePresenter() - Method in class com.rey.mvp.impl.MvpFragment
 
onCreateViewState() - Method in class com.rey.mvp.impl.MvpFragment
 
onDestroy() - Method in class com.rey.mvp.BasePresenter
 
onDestroy() - Method in class com.rey.mvp.impl.MvpDelegate
 
onDestroy() - Method in class com.rey.mvp.impl.MvpFragment
 
onDestroy() - Method in interface com.rey.mvp.Presenter
Called when the presenter is destroyed.
onDestroyView() - Method in class com.rey.mvp.impl.MvpDelegate
 
onDestroyView() - Method in class com.rey.mvp.impl.MvpFragment
 
onDetachView() - Method in class com.rey.mvp.BasePresenter
 
onDetachView() - Method in interface com.rey.mvp.Presenter
Detach your view from this presenter.
onPause() - Method in class com.rey.mvp.impl.MvpDelegate
 
onPause() - Method in class com.rey.mvp.impl.MvpFragment
 
onRestore(String) - Method in interface com.rey.mvp.ViewState
Called when restore the state of this ViewState.
onResume() - Method in class com.rey.mvp.impl.MvpDelegate
 
onResume() - Method in class com.rey.mvp.impl.MvpFragment
 
onRetainCustomNonConfigurationInstance() - Method in class com.rey.mvp.impl.MvpActivity
 
onSave() - Method in interface com.rey.mvp.ViewState
Called when save this ViewState's data.
onSaveInstanceState(Bundle) - Method in class com.rey.mvp.impl.MvpActivity
 
onSaveInstanceState(Bundle) - Method in class com.rey.mvp.impl.MvpActivityDelegate
 
onSaveInstanceState(Bundle) - Method in class com.rey.mvp.impl.MvpDelegate
 
onSaveInstanceState(Bundle) - Method in class com.rey.mvp.impl.MvpFragment
 
onUnbind(Presenter) - Method in class com.rey.mvp.BaseViewState
 
onUnbind(Presenter) - Method in interface com.rey.mvp.ViewState
Called when unbind this ViewState from a Presenter.
onViewCreated(V) - Method in class com.rey.mvp.impl.MvpDelegate
 
onViewCreated(View, Bundle) - Method in class com.rey.mvp.impl.MvpFragment
 
onViewHide() - Method in class com.rey.mvp.BasePresenter
 
onViewHide() - Method in interface com.rey.mvp.Presenter
Called when the view go hiding (Fragment onPause()).
onViewVisible() - Method in class com.rey.mvp.BasePresenter
 
onViewVisible() - Method in interface com.rey.mvp.Presenter
Called when the view go visible (Fragment onResume()).

P

Presenter<V,S extends ViewState> - Interface in com.rey.mvp
Created by Rey on 11/16/2015.
PresenterCache - Interface in com.rey.mvp
 
PresenterFactory<P extends Presenter> - Interface in com.rey.mvp
 

R

removeViewState(ViewState) - Method in class com.rey.mvp.impl.MvpActivityDelegate
 
removeViewState(ViewState) - Method in interface com.rey.mvp.ViewStateCache
 
restoreViewStateData(ViewState) - Method in class com.rey.mvp.impl.MvpActivityDelegate
 
restoreViewStateData(ViewState) - Method in interface com.rey.mvp.ViewStateCache
 

S

saveViewStateData(ViewState) - Method in class com.rey.mvp.impl.MvpActivityDelegate
 
saveViewStateData(ViewState) - Method in interface com.rey.mvp.ViewStateCache
 
setPresenter(int, Presenter) - Method in class com.rey.mvp.impl.MvpActivityDelegate
 
setPresenter(int, Presenter) - Method in interface com.rey.mvp.PresenterCache
 
setTag(String) - Method in class com.rey.mvp.BaseViewState
 
setTag(String) - Method in interface com.rey.mvp.ViewState
Set this ViewState's tag.

V

ViewState - Interface in com.rey.mvp
Created by Rey on 11/16/2015.
ViewStateCache - Interface in com.rey.mvp
Created by Rey on 11/16/2015.
ViewStateFactory<S extends ViewState> - Interface in com.rey.mvp
Created by Rey on 11/16/2015.
A B C G I M O P R S V