|
@@ -24,6 +24,7 @@ import java.util.List;
|
|
|
|
|
|
public class ApnDeleteActivity extends BaseActivity {
|
|
|
public int mIndex = 0;
|
|
|
+ public String name = "";
|
|
|
|
|
|
@Override
|
|
|
protected void onCreate(Bundle savedInstanceState) {
|
|
@@ -35,15 +36,21 @@ public class ApnDeleteActivity extends BaseActivity {
|
|
|
|
|
|
private void initData() {
|
|
|
mIndex = getIntent().getIntExtra(Constant.INENT_LIST_INDEX, 0);
|
|
|
+ name = getIntent().getStringExtra(Constant.INENT_VIEW_VALUE);
|
|
|
}
|
|
|
|
|
|
private void initView() {
|
|
|
- TextView textView = findViewById(R.id.text_content);
|
|
|
+ TextView textContent = findViewById(R.id.text_content);
|
|
|
+ TextView textName = findViewById(R.id.text_name);
|
|
|
Button cancelButton = findViewById(R.id.button_cancel);
|
|
|
Button sureButton = findViewById(R.id.button_sure);
|
|
|
|
|
|
- if (textView != null) {
|
|
|
- textView.setText(R.string.apn_delete_content);
|
|
|
+ if (textContent != null) {
|
|
|
+ textContent.setText(R.string.apn_delete_content);
|
|
|
+ }
|
|
|
+
|
|
|
+ if (textName != null) {
|
|
|
+ textName.setText(name);
|
|
|
}
|
|
|
|
|
|
if (cancelButton != null) {
|