Add on click listeners in show direction menu

This commit is contained in:
PavelRatushny 2017-09-08 12:40:41 +03:00
parent a5fbace332
commit 3dd513c1e1

View file

@ -61,6 +61,7 @@ public class ShowDirectionBottomSheetDialogFragment extends BottomSheetDialogFra
return false;
}
});
topBarImage.setOnClickListener(topBarOnClickListener);
mainView.findViewById(R.id.widget_text).setOnTouchListener(new View.OnTouchListener() {
@Override
@ -68,6 +69,7 @@ public class ShowDirectionBottomSheetDialogFragment extends BottomSheetDialogFra
return false;
}
});
widgetImage.setOnClickListener(widgetOnClickListener);
}
if (nightMode) {
@ -143,6 +145,21 @@ public class ShowDirectionBottomSheetDialogFragment extends BottomSheetDialogFra
}
}
private View.OnClickListener topBarOnClickListener = new View.OnClickListener() {
@Override
public void onClick(View view) {
}
};
private View.OnClickListener widgetOnClickListener = new View.OnClickListener() {
@Override
public void onClick(View view) {
}
};
interface ShowDirectionFragmentListener {
}