コード例 #1
0
 /*package*/ void showUserLanding() {
   if (getActivity() instanceof JRFragmentHostActivity || isSharingFlow()) {
     startActivityForFragId(JRFragmentHostActivity.JR_LANDING, REQUEST_LANDING);
   } else {
     showFragment(JRLandingFragment.class, REQUEST_LANDING);
   }
 }
コード例 #2
0
 /*package*/ void showWebView(boolean forSharingFlow) {
   if (getActivity() instanceof JRFragmentHostActivity || forSharingFlow) {
     Bundle opts = new Bundle();
     opts.putInt(
         JR_FRAGMENT_FLOW_MODE, forSharingFlow ? JR_FRAGMENT_FLOW_SHARING : JR_FRAGMENT_FLOW_AUTH);
     startActivityForFragId(JRFragmentHostActivity.JR_WEBVIEW, REQUEST_WEBVIEW, opts);
   } else {
     showFragment(JRWebViewFragment.class, REQUEST_WEBVIEW);
   }
 }
コード例 #3
0
 /*package*/ void startNativeAuth() {
   showFragment(JRNativeAuthFragment.class, REQUEST_NATIVE);
 }