历史记录功能
Some checks failed
Flask 提示词大师 - CI/CD 流水线 / 代码质量检查 (push) Has been cancelled
Flask 提示词大师 - CI/CD 流水线 / 单元测试 (push) Has been cancelled
Flask 提示词大师 - CI/CD 流水线 / 集成测试 (push) Has been cancelled
Flask 提示词大师 - CI/CD 流水线 / 构建Docker镜像 (push) Has been cancelled
Flask 提示词大师 - CI/CD 流水线 / 部署到测试环境 (push) Has been cancelled
Flask 提示词大师 - CI/CD 流水线 / 部署到生产环境 (push) Has been cancelled
Flask 提示词大师 - CI/CD 流水线 / 部署监控系统 (push) Has been cancelled
Some checks failed
Flask 提示词大师 - CI/CD 流水线 / 代码质量检查 (push) Has been cancelled
Flask 提示词大师 - CI/CD 流水线 / 单元测试 (push) Has been cancelled
Flask 提示词大师 - CI/CD 流水线 / 集成测试 (push) Has been cancelled
Flask 提示词大师 - CI/CD 流水线 / 构建Docker镜像 (push) Has been cancelled
Flask 提示词大师 - CI/CD 流水线 / 部署到测试环境 (push) Has been cancelled
Flask 提示词大师 - CI/CD 流水线 / 部署到生产环境 (push) Has been cancelled
Flask 提示词大师 - CI/CD 流水线 / 部署监控系统 (push) Has been cancelled
This commit is contained in:
@@ -29,6 +29,9 @@ public final class ActivityMainBinding implements ViewBinding {
|
||||
@NonNull
|
||||
public final MaterialButton btnGenerate;
|
||||
|
||||
@NonNull
|
||||
public final MaterialButton btnSettings;
|
||||
|
||||
@NonNull
|
||||
public final MaterialCardView cardResult;
|
||||
|
||||
@@ -48,12 +51,14 @@ public final class ActivityMainBinding implements ViewBinding {
|
||||
public final TextView tvPrompt;
|
||||
|
||||
private ActivityMainBinding(@NonNull ScrollView rootView, @NonNull MaterialButton btnCopy,
|
||||
@NonNull MaterialButton btnGenerate, @NonNull MaterialCardView cardResult,
|
||||
@NonNull EditText etInput, @NonNull ProgressBar progressBar, @NonNull TextView tvIntent,
|
||||
@NonNull TextView tvLoading, @NonNull TextView tvPrompt) {
|
||||
@NonNull MaterialButton btnGenerate, @NonNull MaterialButton btnSettings,
|
||||
@NonNull MaterialCardView cardResult, @NonNull EditText etInput,
|
||||
@NonNull ProgressBar progressBar, @NonNull TextView tvIntent, @NonNull TextView tvLoading,
|
||||
@NonNull TextView tvPrompt) {
|
||||
this.rootView = rootView;
|
||||
this.btnCopy = btnCopy;
|
||||
this.btnGenerate = btnGenerate;
|
||||
this.btnSettings = btnSettings;
|
||||
this.cardResult = cardResult;
|
||||
this.etInput = etInput;
|
||||
this.progressBar = progressBar;
|
||||
@@ -101,6 +106,12 @@ public final class ActivityMainBinding implements ViewBinding {
|
||||
break missingId;
|
||||
}
|
||||
|
||||
id = R.id.btnSettings;
|
||||
MaterialButton btnSettings = ViewBindings.findChildViewById(rootView, id);
|
||||
if (btnSettings == null) {
|
||||
break missingId;
|
||||
}
|
||||
|
||||
id = R.id.cardResult;
|
||||
MaterialCardView cardResult = ViewBindings.findChildViewById(rootView, id);
|
||||
if (cardResult == null) {
|
||||
@@ -137,8 +148,8 @@ public final class ActivityMainBinding implements ViewBinding {
|
||||
break missingId;
|
||||
}
|
||||
|
||||
return new ActivityMainBinding((ScrollView) rootView, btnCopy, btnGenerate, cardResult,
|
||||
etInput, progressBar, tvIntent, tvLoading, tvPrompt);
|
||||
return new ActivityMainBinding((ScrollView) rootView, btnCopy, btnGenerate, btnSettings,
|
||||
cardResult, etInput, progressBar, tvIntent, tvLoading, tvPrompt);
|
||||
}
|
||||
String missingId = rootView.getResources().getResourceName(id);
|
||||
throw new NullPointerException("Missing required view with ID: ".concat(missingId));
|
||||
|
||||
@@ -0,0 +1,90 @@
|
||||
// Generated by view binder compiler. Do not edit!
|
||||
package com.example.promptoptimizer.databinding;
|
||||
|
||||
import android.view.LayoutInflater;
|
||||
import android.view.View;
|
||||
import android.view.ViewGroup;
|
||||
import android.widget.ScrollView;
|
||||
import androidx.annotation.NonNull;
|
||||
import androidx.annotation.Nullable;
|
||||
import androidx.viewbinding.ViewBinding;
|
||||
import androidx.viewbinding.ViewBindings;
|
||||
import com.example.promptoptimizer.R;
|
||||
import com.google.android.material.button.MaterialButton;
|
||||
import com.google.android.material.textfield.TextInputEditText;
|
||||
import java.lang.NullPointerException;
|
||||
import java.lang.Override;
|
||||
import java.lang.String;
|
||||
|
||||
public final class ActivitySettingsBinding implements ViewBinding {
|
||||
@NonNull
|
||||
private final ScrollView rootView;
|
||||
|
||||
@NonNull
|
||||
public final MaterialButton btnSave;
|
||||
|
||||
@NonNull
|
||||
public final TextInputEditText etBaseUrl;
|
||||
|
||||
@NonNull
|
||||
public final TextInputEditText etModel;
|
||||
|
||||
private ActivitySettingsBinding(@NonNull ScrollView rootView, @NonNull MaterialButton btnSave,
|
||||
@NonNull TextInputEditText etBaseUrl, @NonNull TextInputEditText etModel) {
|
||||
this.rootView = rootView;
|
||||
this.btnSave = btnSave;
|
||||
this.etBaseUrl = etBaseUrl;
|
||||
this.etModel = etModel;
|
||||
}
|
||||
|
||||
@Override
|
||||
@NonNull
|
||||
public ScrollView getRoot() {
|
||||
return rootView;
|
||||
}
|
||||
|
||||
@NonNull
|
||||
public static ActivitySettingsBinding inflate(@NonNull LayoutInflater inflater) {
|
||||
return inflate(inflater, null, false);
|
||||
}
|
||||
|
||||
@NonNull
|
||||
public static ActivitySettingsBinding inflate(@NonNull LayoutInflater inflater,
|
||||
@Nullable ViewGroup parent, boolean attachToParent) {
|
||||
View root = inflater.inflate(R.layout.activity_settings, parent, false);
|
||||
if (attachToParent) {
|
||||
parent.addView(root);
|
||||
}
|
||||
return bind(root);
|
||||
}
|
||||
|
||||
@NonNull
|
||||
public static ActivitySettingsBinding bind(@NonNull View rootView) {
|
||||
// The body of this method is generated in a way you would not otherwise write.
|
||||
// This is done to optimize the compiled bytecode for size and performance.
|
||||
int id;
|
||||
missingId: {
|
||||
id = R.id.btnSave;
|
||||
MaterialButton btnSave = ViewBindings.findChildViewById(rootView, id);
|
||||
if (btnSave == null) {
|
||||
break missingId;
|
||||
}
|
||||
|
||||
id = R.id.etBaseUrl;
|
||||
TextInputEditText etBaseUrl = ViewBindings.findChildViewById(rootView, id);
|
||||
if (etBaseUrl == null) {
|
||||
break missingId;
|
||||
}
|
||||
|
||||
id = R.id.etModel;
|
||||
TextInputEditText etModel = ViewBindings.findChildViewById(rootView, id);
|
||||
if (etModel == null) {
|
||||
break missingId;
|
||||
}
|
||||
|
||||
return new ActivitySettingsBinding((ScrollView) rootView, btnSave, etBaseUrl, etModel);
|
||||
}
|
||||
String missingId = rootView.getResources().getResourceName(id);
|
||||
throw new NullPointerException("Missing required view with ID: ".concat(missingId));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user