if there is no explicit callback , but we still need to call the facebook component , because it 's going to update some state , e.g. , login , like . then we should register a static callback that can still handle the response . concode_field_sep Map<Integer,Callback> staticCallbacks concode_elem_sep int offset concode_elem_sep Map<Integer,Callback> callbacks concode_field_sep boolean runStaticCallback concode_elem_sep int toRequestCode concode_elem_sep Callback getStaticCallback concode_elem_sep boolean onActivityResult concode_elem_sep boolean onActivityResult concode_elem_sep void registerCallback
void function ( int arg0 , Callback arg1 ) { Validate . notNull ( arg1 , "srini_string" ) ; if ( staticCallbacks . containsKey ( arg0 ) ) { return ; } staticCallbacks . put ( arg0 , arg1 ) ; }