mirror of
https://github.com/lacerta-doc/Lacerta.git
synced 2024-11-23 00:13:16 +00:00
実装WIP(デバッグ)
This commit is contained in:
parent
515a881428
commit
6902fbebbd
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user