本文整理汇总了Java中com.heinrichreimersoftware.androidissuereporter.model.github.ExtraInfo类的典型用法代码示例。如果您正苦于以下问题:Java ExtraInfo类的具体用法?Java ExtraInfo怎么用?Java ExtraInfo使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
ExtraInfo类属于com.heinrichreimersoftware.androidissuereporter.model.github包,在下文中一共展示了ExtraInfo类的12个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。
示例1: onSaveExtraInfo
import com.heinrichreimersoftware.androidissuereporter.model.github.ExtraInfo; //导入依赖的package包/类
@Override
public void onSaveExtraInfo(ExtraInfo extraInfo) {
Prefs prefs = new Prefs(this);
String[][] preferences = prefs.toArray();
for (String[] preference : preferences) {
extraInfo.put(preference[0], preference[1]);
}
}
开发者ID:rosenpin,项目名称:Enhancer-For-GO,代码行数:9,代码来源:ReporterActivity.java
示例2: onSaveExtraInfo
import com.heinrichreimersoftware.androidissuereporter.model.github.ExtraInfo; //导入依赖的package包/类
@Override
public void onSaveExtraInfo(ExtraInfo extraInfo) {
Prefs prefs = new Prefs(this);
String[][] preferences = prefs.toArray();
for (String[] preference : preferences) {
extraInfo.put(preference[0], preference[1]);
}
if (messageExtra != null)
extraInfo.put("Error log", messageExtra);
}
开发者ID:rosenpin,项目名称:AlwaysOnDisplayAmoled,代码行数:11,代码来源:ReporterActivity.java
示例3: Report
import com.heinrichreimersoftware.androidissuereporter.model.github.ExtraInfo; //导入依赖的package包/类
public Report(String title, String description, DeviceInfo deviceInfo, ExtraInfo extraInfo, String email) {
this.title = title;
this.description = description;
this.deviceInfo = deviceInfo;
this.extraInfo = extraInfo;
this.email = email;
}
开发者ID:rosenpin-deprecated,项目名称:More-For-GO,代码行数:8,代码来源:Report.java
示例4: onSaveExtraInfo
import com.heinrichreimersoftware.androidissuereporter.model.github.ExtraInfo; //导入依赖的package包/类
@Override
protected void onSaveExtraInfo(ExtraInfo extraInfo) {
super.onSaveExtraInfo(extraInfo);
if (this.extraInfo != null && !this.extraInfo.isEmpty()) {
extraInfo.putAll(this.extraInfo);
}
}
开发者ID:heinrichreimer,项目名称:android-issue-reporter,代码行数:8,代码来源:IssueReporterLauncher.java
示例5: onSaveExtraInfo
import com.heinrichreimersoftware.androidissuereporter.model.github.ExtraInfo; //导入依赖的package包/类
@Override
protected void onSaveExtraInfo(ExtraInfo extraInfo) {
super.onSaveExtraInfo(extraInfo);
if (this.extraInfo != null && !this.extraInfo.isEmpty()) {
extraInfo.putAll(this.extraInfo);
}
}
开发者ID:karnikram,项目名称:the-ssn-app,代码行数:8,代码来源:IssueReporterLauncher.java
示例6: sendBugReport
import com.heinrichreimersoftware.androidissuereporter.model.github.ExtraInfo; //导入依赖的package包/类
private void sendBugReport(GithubLogin login, String email) {
if (!validateInput()) return;
String bugTitle = inputTitle.getText().toString();
String bugDescription = inputDescription.getText().toString();
DeviceInfo deviceInfo = new DeviceInfo(this);
ExtraInfo extraInfo = new ExtraInfo();
onSaveExtraInfo(extraInfo);
Report report = new Report(bugTitle, bugDescription, deviceInfo, extraInfo, email);
GithubTarget target = getTarget();
report(this, report, target, login);
}
开发者ID:feifadaima,项目名称:https-github.com-hyb1996-NoRootScriptDroid,代码行数:17,代码来源:AbstractIssueReporterActivity.java
示例7: onSaveExtraInfo
import com.heinrichreimersoftware.androidissuereporter.model.github.ExtraInfo; //导入依赖的package包/类
protected void onSaveExtraInfo(ExtraInfo extraInfo) {
}
开发者ID:feifadaima,项目名称:https-github.com-hyb1996-NoRootScriptDroid,代码行数:3,代码来源:AbstractIssueReporterActivity.java
示例8: sendBugReport
import com.heinrichreimersoftware.androidissuereporter.model.github.ExtraInfo; //导入依赖的package包/类
private void sendBugReport(GithubLogin login, String email) {
if (!validateInput()) return;
String bugTitle = inputTitle.getText().toString();
String bugDescription = inputDescription.getText().toString();
DeviceInfo deviceInfo = new DeviceInfo(this);
ExtraInfo extraInfo = new ExtraInfo();
onSaveExtraInfo(extraInfo);
Report report = new Report(bugTitle, bugDescription, deviceInfo, extraInfo, email);
GithubTarget target = getTarget();
ReportIssueTask.report(this, report, target, login);
}
开发者ID:rosenpin-deprecated,项目名称:More-For-GO,代码行数:17,代码来源:IssueReporterActivity.java
示例9: onSaveExtraInfo
import com.heinrichreimersoftware.androidissuereporter.model.github.ExtraInfo; //导入依赖的package包/类
@Override
public void onSaveExtraInfo(ExtraInfo extraInfo) {
extraInfo.put("Test 1", "Example string");
extraInfo.put("Test 2", true);
}
开发者ID:heinrichreimer,项目名称:android-issue-reporter,代码行数:6,代码来源:ExampleReporterActivity.java
示例10: putExtraInfo
import com.heinrichreimersoftware.androidissuereporter.model.github.ExtraInfo; //导入依赖的package包/类
public IssueReporterLauncher putExtraInfo(ExtraInfo extraInfo) {
this.extraInfo.putAll(extraInfo);
return this;
}
开发者ID:heinrichreimer,项目名称:android-issue-reporter,代码行数:5,代码来源:IssueReporterLauncher.java
示例11: onCreate
import com.heinrichreimersoftware.androidissuereporter.model.github.ExtraInfo; //导入依赖的package包/类
@Override
protected void onCreate(Bundle savedInstanceState) {
Intent intent = getIntent();
if (intent == null) {
finish();
return;
}
@StyleRes
int theme = intent.getIntExtra(EXTRA_THEME, 0);
if (theme != 0) {
setTheme(theme);
}
super.onCreate(savedInstanceState);
if (!intent.hasExtra(EXTRA_TARGET_USERNAME) ||
!intent.hasExtra(EXTRA_TARGET_REPOSITORY)) {
finish();
return;
}
targetUsername = intent.getStringExtra(EXTRA_TARGET_USERNAME);
targetRepository = intent.getStringExtra(EXTRA_TARGET_REPOSITORY);
if (TextUtils.isEmpty(targetUsername) || TextUtils.isEmpty(targetRepository)) {
finish();
return;
}
String token = intent.getStringExtra(EXTRA_GUEST_TOKEN);
setGuestToken(TextUtils.isEmpty(token) ? null : token);
setGuestEmailRequired(intent.getBooleanExtra(EXTRA_GUEST_EMAIL_REQUIRED, false));
setMinimumDescriptionLength(intent.getIntExtra(EXTRA_MIN_DESCRIPTION_LENGTH, 0));
if (intent.getBooleanExtra(EXTRA_HOME_AS_UP_ENABLED, true)) {
ActionBar actionBar = getSupportActionBar();
if (actionBar != null) {
actionBar.setDisplayHomeAsUpEnabled(true);
View toolbar = findViewById(R.id.air_toolbar);
if (toolbar instanceof Toolbar) {
((Toolbar) toolbar).setContentInsetsRelative(
getResources().getDimensionPixelSize(R.dimen.air_baseline_content),
getResources().getDimensionPixelSize(R.dimen.air_baseline));
}
}
}
extraInfo = ExtraInfo.fromBundle(intent.getBundleExtra(EXTRA_EXTRA_INFO));
}
开发者ID:heinrichreimer,项目名称:android-issue-reporter,代码行数:50,代码来源:IssueReporterLauncher.java
示例12: onSaveExtraInfo
import com.heinrichreimersoftware.androidissuereporter.model.github.ExtraInfo; //导入依赖的package包/类
@Override
protected void onSaveExtraInfo(ExtraInfo extraInfo) {
}
开发者ID:iotaledger,项目名称:android-wallet-app,代码行数:5,代码来源:ReportIssueActivity.java
注:本文中的com.heinrichreimersoftware.androidissuereporter.model.github.ExtraInfo类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论