android.support.v7.app.ActionBarActivity.onActivityResult()方法的使用及代码示例

x33g5p2x  于11个月前 转载在 其他  
字(1.7k)|赞(0)|评价(0)|浏览(40)

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

ActionBarActivity.onActivityResult介绍

暂无

代码示例

代码示例来源:origin: scola/Qart

super.onActivityResult(requestCode, resultCode, data);

代码示例来源:origin: SimonMarquis/Android-PreferencesManager

@Override
protected void onActivityResult(int requestCode, int resultCode, Intent data) {
  super.onActivityResult(requestCode, resultCode, data);
  if (requestCode == REQUEST_CODE_PREFERENCES_ACTIVITY) {
    if (mAdapter != null) {
      mAdapter.notifyDataSetChanged();
    }
  }
}

代码示例来源:origin: pinterest/android-pdk

@Override
protected void onActivityResult(int requestCode, int resultCode, Intent data) {
  super.onActivityResult(requestCode, resultCode, data);
  pdkClient.onOauthResponse(requestCode, resultCode,
    data);
}

代码示例来源:origin: hexene/LocalVPN

@Override
protected void onActivityResult(int requestCode, int resultCode, Intent data)
{
  super.onActivityResult(requestCode, resultCode, data);
  if (requestCode == VPN_REQUEST_CODE && resultCode == RESULT_OK)
  {
    waitingForVPNStart = true;
    startService(new Intent(this, LocalVPNService.class));
    enableButton(false);
  }
}

代码示例来源:origin: sismics/reader

@Override
  protected void onActivityResult(int requestCode, int resultCode, Intent data) {
    super.onActivityResult(requestCode, resultCode, data);
    if (requestCode == Constants.REQUEST_CODE_MANAGE_CATEGORIES && resultCode == RESULT_OK) {
      // If we have successfully modified the categories, refresh everything
      refreshSubscriptions(drawerList.getCheckedItemPosition(), true);
    }
  }
}

相关文章