public void setRefreshCompleteHook ( PtrUIHandlerHook hook ) { mRefreshCompleteHook = hook ; hook . setResumeAction ( new Runnable ( ) { @ Override public void run ( ) { if ( DEBUG ) { PtrCLog . d ( LOG_TAG , "mRefreshCompleteHook resume." ) ; } notifyUIRefreshComplete ( true ) ; } } ) ; }
please DO REMEMBER resume the hook