protected Postcard build ( Uri uri ) { if ( null == uri || TextUtils . isEmpty ( uri . toString ( ) ) ) { throw new HandlerException ( Consts . TAG + "Parameter invalid!" ) ; } else { PathReplaceService pService = ARouter . getInstance ( ) . navigation ( PathReplaceService . class ) ; if ( null != pService ) { uri = pService . forUri ( uri ) ; } return new Postcard ( uri . getPath ( ) , extractGroup ( uri . getPath ( ) ) , uri , null ) ; } }
Build postcard by uri