stub speed action action listener

This commit is contained in:
orionlee 2019-03-20 11:44:51 -07:00
parent f7fa0836ea
commit 4918a743a7
1 changed files with 4 additions and 0 deletions

View File

@ -193,6 +193,10 @@ public class EpisodesApplyActionFragment extends Fragment {
// replacement for the buttons // replacement for the buttons
mSpeedDialView = view.findViewById(R.id.fabSD); mSpeedDialView = view.findViewById(R.id.fabSD);
mSpeedDialView.inflate(R.menu.episodes_apply_action_speeddial); mSpeedDialView.inflate(R.menu.episodes_apply_action_speeddial);
mSpeedDialView.setOnActionSelectedListener(actionItem -> {
Toast.makeText(getContext(), "" + actionItem.getLabel() + " clicked", Toast.LENGTH_SHORT).show();
return true;
});
showSpeedDialIfAnyChecked(); showSpeedDialIfAnyChecked();
return view; return view;