androidx.appcompat.app.AppCompatActivity.onNewIntent()方法的使用及代码示例

x33g5p2x  于2022-01-15 转载在 其他  
字(2.6k)|赞(0)|评价(0)|浏览(174)

本文整理了Java中androidx.appcompat.app.AppCompatActivity.onNewIntent()方法的一些代码示例,展示了AppCompatActivity.onNewIntent()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。AppCompatActivity.onNewIntent()方法的具体详情如下:
包路径:androidx.appcompat.app.AppCompatActivity
类名称:AppCompatActivity
方法名:onNewIntent

AppCompatActivity.onNewIntent介绍

暂无

代码示例

代码示例来源:origin: chat-sdk/chat-sdk-android

@Override
protected void onNewIntent(Intent intent) {
  super.onNewIntent(intent);
}

代码示例来源:origin: iTXTech/Daedalus

@Override
protected void onNewIntent(Intent intent) {
  super.onNewIntent(intent);
  updateUserInterface(intent);
}

代码示例来源:origin: westnordost/StreetComplete

@Override protected void onNewIntent(Intent intent)
  {
    super.onNewIntent(intent);

    Fragment f = getCurrentFragment();
    if(f instanceof IntentListener)
    {
      ((IntentListener)f).onNewIntent(intent);
    }
  }
}

代码示例来源:origin: darkskygit/VirtualApp

@Override
protected void onNewIntent(Intent intent) {
  super.onNewIntent(intent);
  handleIntent(intent);
}

代码示例来源:origin: cbeyls/fosdem-companion-android

@Override
protected void onNewIntent(Intent intent) {
  super.onNewIntent(intent);
  handleIntent(intent, true);
}

代码示例来源:origin: helloworld1/FreeOTPPlus

@Override
protected void onNewIntent(Intent intent) {
  super.onNewIntent(intent);
  Uri uri = intent.getData();
  if (uri != null)
    TokenPersistence.addWithToast(this, uri.toString());
}

代码示例来源:origin: andstatus/andstatus

@Override
protected void onNewIntent(Intent intent) {
  super.onNewIntent(intent);
  startNextActivity(intent);
}

代码示例来源:origin: martykan/webTube

@Override
protected void onNewIntent(final Intent intent) {
  super.onNewIntent(intent);
  loadUrlFromIntent(intent);
}

代码示例来源:origin: PeterCxy/Shelter

@Override
protected void onNewIntent(Intent intent) {
  super.onNewIntent(intent);
  if (mProgressDialog != null && isWorkProfileAvailable()) {
    mProgressDialog.dismiss();
    init();
  }
}

代码示例来源:origin: trello/navi

@Override @CallSuper protected void onNewIntent(Intent intent) {
 super.onNewIntent(intent);
 base.onNewIntent(intent);
}

代码示例来源:origin: stripe/stripe-android

@Override
protected void onNewIntent(Intent intent) {
  super.onNewIntent(intent);
  if (intent.getData() != null && intent.getData().getQuery() != null) {
    // The client secret and source ID found here is identical to
    // that of the source used to get the redirect URL.
    String clientSecret = intent.getData().getQueryParameter(QUERY_CLIENT_SECRET);
    String sourceId = intent.getData().getQueryParameter(QUERY_SOURCE_ID);
    if (clientSecret != null
        && sourceId != null
        && clientSecret.equals(mRedirectSource.getClientSecret())
        && sourceId.equals(mRedirectSource.getId())) {
      updateSourceList(mRedirectSource);
      mRedirectSource = null;
    }
    mRedirectDialogController.dismissDialog();
  }
}

相关文章

微信公众号

最新文章

更多

AppCompatActivity类方法