Skip navigation links
A B C E F G I N O P R S T 

A

acquire(C, ActivityComponent) - Method in interface com.nhaarman.triad.Presenter
Binds the Container this BasePresenter controls.
ActivityComponentProvider<ActivityComponent> - Interface in com.nhaarman.triad
 
ApplicationComponentProvider<ApplicationComponent> - Interface in com.nhaarman.triad
 

B

Backstack - Class in com.nhaarman.triad
Describes the history of a Triad at a specific point in time.
Backstack.Builder - Class in com.nhaarman.triad
 
backward(View, View, ViewGroup, Triad.Callback) - Method in interface com.nhaarman.triad.TransitionAnimator
 
backward(Backstack) - Method in interface com.nhaarman.triad.Triad
Replaces the entire backstack with given backstack, in a backward manner.
backward(Screen<T>, TransitionAnimator, Triad.Callback) - Method in interface com.nhaarman.triad.Triad.Listener
Notifies the listener that the backstack will be moved back to given Screen.
build() - Method in class com.nhaarman.triad.Backstack.Builder
 
buildUpon() - Method in class com.nhaarman.triad.Backstack
Get a builder to modify a copy of this backstack.

C

canStart(Intent) - Method in interface com.nhaarman.triad.Triad
Returns whether the given Intent can be launched.
clear() - Method in class com.nhaarman.triad.Backstack.Builder
 
com.nhaarman.triad - package com.nhaarman.triad
 
Container - Interface in com.nhaarman.triad
The View class in the MVP context.
createActivityComponent() - Method in class com.nhaarman.triad.TriadActivity
Creates the ActivityComponent.
createApplicationComponent() - Method in class com.nhaarman.triad.TriadApplication
Creates a new instance of the ApplicationComponent.
createFor(Activity) - Static method in class com.nhaarman.triad.TriadDelegate
 
createFor(Activity, TransitionAnimator) - Static method in class com.nhaarman.triad.TriadDelegate
 
createPresenter(int) - Method in class com.nhaarman.triad.Screen
 
createView(ViewGroup) - Method in class com.nhaarman.triad.Screen
 

E

emptyBuilder() - Static method in class com.nhaarman.triad.Backstack
 
emptyInstance() - Static method in class com.nhaarman.triad.TriadFactory
 

F

forward(View, View, ViewGroup, Triad.Callback) - Method in interface com.nhaarman.triad.TransitionAnimator
 
forward(Backstack) - Method in interface com.nhaarman.triad.Triad
Replaces the entire backstack with given backstack, in a forward manner.
forward(Screen<T>, TransitionAnimator, Triad.Callback) - Method in interface com.nhaarman.triad.Triad.Listener
Notifies the listener that the backstack will forward to a new Screen.

G

getActivityComponent() - Method in interface com.nhaarman.triad.ActivityComponentProvider
 
getActivityComponent() - Method in class com.nhaarman.triad.TriadActivity
 
getApplicationComponent() - Method in interface com.nhaarman.triad.ApplicationComponentProvider
 
getApplicationComponent() - Method in class com.nhaarman.triad.Screen
 
getApplicationComponent() - Method in class com.nhaarman.triad.TriadApplication
 
getBackstack() - Method in interface com.nhaarman.triad.Triad
 
getContext() - Method in interface com.nhaarman.triad.Container
Returns the context the container is running in, through which it can access the current theme, resources, etc.
getCurrentScreen() - Method in interface com.nhaarman.triad.ScreenProvider
 
getCurrentScreen() - Method in class com.nhaarman.triad.TriadActivity
 
getCurrentScreen() - Method in class com.nhaarman.triad.TriadDelegate
 
getLayoutResId() - Method in class com.nhaarman.triad.Screen
 
getPresenter(int) - Method in class com.nhaarman.triad.Screen
 
getTriad() - Method in class com.nhaarman.triad.TriadActivity
Returns the Triad instance to be used to navigate between Screens.
getTriad() - Method in class com.nhaarman.triad.TriadApplication
 
getTriad() - Method in class com.nhaarman.triad.TriadDelegate
Returns the Triad instance to be used to navigate between Screens.
getTriad() - Method in interface com.nhaarman.triad.TriadProvider
 
goBack() - Method in interface com.nhaarman.triad.Triad
Pops the current screen off the backstack.
goTo(Screen<?>) - Method in interface com.nhaarman.triad.Triad
Pushes given Screen onto the backstack.
goTo(Screen<?>, TransitionAnimator) - Method in interface com.nhaarman.triad.Triad
Pushes given Screen onto the backstack.

I

isTransitioning() - Method in interface com.nhaarman.triad.Triad
 
iterator() - Method in class com.nhaarman.triad.Backstack
 

N

newInstance(Backstack, Triad.Listener<?>) - Static method in class com.nhaarman.triad.TriadFactory
 

O

of(Screen<?>...) - Static method in class com.nhaarman.triad.Backstack
Creates a backstack that contains given screens.
onActivityResult(int, Intent) - Method in interface com.nhaarman.triad.Triad.ActivityResultListener
 
onActivityResult(int, int, Intent) - Method in interface com.nhaarman.triad.Triad
Propagates the activity result to the proper [ActivityResultListener].
onActivityResult(int, int, Intent) - Method in class com.nhaarman.triad.TriadActivity
 
onActivityResult(int, int, Intent) - Method in class com.nhaarman.triad.TriadDelegate
 
onAttach(Activity) - Method in class com.nhaarman.triad.Screen
 
onBackPressed() - Method in class com.nhaarman.triad.Screen
 
onBackPressed() - Method in class com.nhaarman.triad.TriadActivity
 
onBackPressed() - Method in class com.nhaarman.triad.TriadDelegate
 
onComplete() - Method in interface com.nhaarman.triad.Triad.Callback
Must be called exactly once to indicate that the corresponding transition has completed.
onCreate() - Method in class com.nhaarman.triad.Screen
 
onCreate(Bundle) - Method in class com.nhaarman.triad.TriadActivity
 
onCreate() - Method in class com.nhaarman.triad.TriadApplication
 
onCreate() - Method in class com.nhaarman.triad.TriadDelegate
 
onDestroy() - Method in class com.nhaarman.triad.Screen
 
onDestroy() - Method in class com.nhaarman.triad.TriadActivity
 
onDestroy() - Method in class com.nhaarman.triad.TriadDelegate
 
onDetach(Activity) - Method in class com.nhaarman.triad.Screen
 
onPause() - Method in class com.nhaarman.triad.TriadActivity
 
onPause() - Method in class com.nhaarman.triad.TriadDelegate
 
onResume() - Method in class com.nhaarman.triad.TriadActivity
 
onResume() - Method in class com.nhaarman.triad.TriadDelegate
 
onScreenChanged(Screen<ApplicationComponent>) - Method in interface com.nhaarman.triad.OnScreenChangedListener
Callback method which is called when a new screen is presented.
OnScreenChangedListener<ApplicationComponent> - Interface in com.nhaarman.triad
An interface to provide a callback when a new screen is presented.

P

popTo(Screen<?>) - Method in interface com.nhaarman.triad.Triad
Pops the backstack until given Screen is found.
popTo(Screen<?>, TransitionAnimator) - Method in interface com.nhaarman.triad.Triad
Pops the backstack until given Screen is found.
Presenter<C extends Container,ActivityComponent> - Interface in com.nhaarman.triad
The Presenter class in the MVP context.
push(Screen<?>) - Method in class com.nhaarman.triad.Backstack.Builder
 
push(Screen<?>, TransitionAnimator) - Method in class com.nhaarman.triad.Backstack.Builder
 
push(Backstack.Entry<?>) - Method in class com.nhaarman.triad.Backstack.Builder
 

R

releaseContainer(C) - Method in interface com.nhaarman.triad.Presenter
Tells this Presenter to release the Container instance.
replace(Screen<T>, TransitionAnimator, Triad.Callback) - Method in interface com.nhaarman.triad.Triad.Listener
Notifies the listener that the backstack will be replaced, with given Screen on top.
replace(Backstack) - Method in interface com.nhaarman.triad.Triad
Replaces the entire backstack with given backstack, in a replace manner.
replace(Backstack, TransitionAnimator) - Method in interface com.nhaarman.triad.Triad
Replaces the entire backstack with given backstack, in a replace manner.
replaceWith(Screen<?>) - Method in interface com.nhaarman.triad.Triad
Replaces the current Screen with given Screen.
replaceWith(Screen<?>, TransitionAnimator) - Method in interface com.nhaarman.triad.Triad
Replaces the current Screen with given Screen.
reverseEntryIterator() - Method in class com.nhaarman.triad.Backstack
 
reverseIterator() - Method in class com.nhaarman.triad.Backstack
 

S

Screen<ApplicationComponent> - Class in com.nhaarman.triad
 
Screen() - Constructor for class com.nhaarman.triad.Screen
 
screenPopped(Screen<T>) - Method in interface com.nhaarman.triad.Triad.Listener
 
ScreenProvider<ApplicationComponent> - Interface in com.nhaarman.triad
 
screenPushed(Screen<T>) - Method in interface com.nhaarman.triad.Triad.Listener
 
setActivity(Activity) - Method in interface com.nhaarman.triad.Triad
Sets the current Activity, to be able to start other Activities from the Triad instance.
setListener(Triad.Listener<?>) - Method in interface com.nhaarman.triad.Triad
 
setOnScreenChangedListener(OnScreenChangedListener<ApplicationComponent>) - Method in class com.nhaarman.triad.TriadActivity
 
setOnScreenChangedListener(OnScreenChangedListener<ApplicationComponent>) - Method in class com.nhaarman.triad.TriadDelegate
Sets an OnScreenChangedListener to be notified of screen changes.
showCurrent() - Method in interface com.nhaarman.triad.Triad
Forces a notification of the current screen.
single(Screen<?>) - Static method in class com.nhaarman.triad.Backstack
Create a backstack that contains a single screen.
single(Screen<?>, TransitionAnimator) - Static method in class com.nhaarman.triad.Backstack
Create a backstack that contains a single screen.
size() - Method in class com.nhaarman.triad.Backstack
 
startActivity(Intent) - Method in interface com.nhaarman.triad.Triad
Launches the Activity described by given Intent.
startActivityForResult(Intent, Triad.ActivityResultListener) - Method in interface com.nhaarman.triad.Triad
Launches the Activity described by given Intent for result.
startWith(Screen<?>) - Method in interface com.nhaarman.triad.Triad
Initializes the backstack with given Screen.
startWith(Screen<?>, TransitionAnimator) - Method in interface com.nhaarman.triad.Triad
Initializes the backstack with given Screen.
startWith(Backstack) - Method in interface com.nhaarman.triad.Triad
Initializes with given backstack.

T

toString() - Method in class com.nhaarman.triad.Backstack
 
TransitionAnimator - Interface in com.nhaarman.triad
 
Triad - Interface in com.nhaarman.triad
 
Triad.ActivityResultListener - Interface in com.nhaarman.triad
 
Triad.Callback - Interface in com.nhaarman.triad
Supplied by Triad to the Listener, which is responsible for calling onComplete().
Triad.Listener<T> - Interface in com.nhaarman.triad
 
TriadActivity<ApplicationComponent,ActivityComponent> - Class in com.nhaarman.triad
An Activity which is the root of an application that uses Triad.
TriadActivity() - Constructor for class com.nhaarman.triad.TriadActivity
 
TriadApplication<ApplicationComponent> - Class in com.nhaarman.triad
A base Application implementation that handles creation of the Triad and ApplicationComponent instance.
TriadApplication() - Constructor for class com.nhaarman.triad.TriadApplication
 
TriadDelegate<ApplicationComponent> - Class in com.nhaarman.triad
This class represents a delegate which can be used to use Triad in any Activity.
TriadFactory - Class in com.nhaarman.triad
 
TriadProvider - Interface in com.nhaarman.triad
 
A B C E F G I N O P R S T 
Skip navigation links