diff --git a/app/src/main/java/org/ntlab/acanthus_client/views/main_menu_ui/edit/EditFragment.java b/app/src/main/java/org/ntlab/acanthus_client/views/main_menu_ui/edit/EditFragment.java index f17960f..a564b35 100644 --- a/app/src/main/java/org/ntlab/acanthus_client/views/main_menu_ui/edit/EditFragment.java +++ b/app/src/main/java/org/ntlab/acanthus_client/views/main_menu_ui/edit/EditFragment.java @@ -164,30 +164,7 @@ @Override public void onViewCreated(View view, @Nullable Bundle savedInstanceState) { super.onViewCreated(view, savedInstanceState); - Button appButton = view.findViewById(R.id.Paint_button); - Integer uid = 1; - String token = "abc0"; - //編集ボタン - Button editButton = view.findViewById(R.id.Edit_button); - - appButton.setOnClickListener(v -> { - Acanthus acanthus = (Acanthus) getActivity().getApplication(); - //Integer uid = acanthus.getPreferenceUid(); - String name = ((EditText)view.findViewById(R.id.AnimationName)).getText().toString(); - //String token = acanthus.getPreferenceToken(); - //Integer aid = editViewModel.startWorkEdit(uid, name, token); - editViewModel.startWorkEdit(uid, name, token); - }); - - editButton.setOnClickListener(v -> { - Acanthus acanthus = (Acanthus) getActivity().getApplication(); - //dummy--------- - Integer aid = 1111; - //-------------- - acanthus.setAid(aid); - transitionPaintActivity(); - }); } //-----------------------------------------------------------------