@ Override public void onSuccess ( T result ) { checkState ( ) ; for ( Callback < T > cb : callbacks ) { cb . onSuccess ( result ) ; } callbacks = null ; // note that we've fired }
Dispatches success to all of the callbacks registered with this list . This may only be called once .