実装WIP(デバッグ)

This commit is contained in:
ろむねこ 2024-01-26 15:06:32 +09:00
parent 515a881428
commit 6902fbebbd
No known key found for this signature in database
GPG Key ID: FA1F39A1BA37D168

View File

@ -16,6 +16,7 @@ import android.widget.Toast;
import javax.inject.Inject; import javax.inject.Inject;
import dagger.hilt.android.AndroidEntryPoint; import dagger.hilt.android.AndroidEntryPoint;
import one.nem.lacerta.component.common.LacertaCreateTagDialog;
import one.nem.lacerta.data.LacertaLibrary; import one.nem.lacerta.data.LacertaLibrary;
/** /**
@ -102,6 +103,8 @@ public class SettingTagManageFragment extends Fragment {
toolbar.setOnMenuItemClickListener(item -> { toolbar.setOnMenuItemClickListener(item -> {
if (item.getItemId() == R.id.setting_tag_manage_menu_add) { if (item.getItemId() == R.id.setting_tag_manage_menu_add) {
Toast.makeText(getContext(), "Add Clicked", Toast.LENGTH_SHORT).show(); Toast.makeText(getContext(), "Add Clicked", Toast.LENGTH_SHORT).show();
LacertaCreateTagDialog dialog = new LacertaCreateTagDialog();
dialog.show(getParentFragmentManager(), "create_tag_dialog");
return true; return true;
} else { } else {
return false; return false;