ui:preview Simplified lambda expressions.

This commit is contained in:
eho 2018-05-22 11:04:13 +02:00
parent 9ecdcdd613
commit 4ebf83fce6

View file

@ -186,13 +186,9 @@ public class PreviewImageFragment extends FileFragment {
mImageView = view.findViewById(R.id.image);
mImageView.setVisibility(View.GONE);
view.setOnClickListener(v -> {
togglePreviewImageFullScreen();
});
view.setOnClickListener(v -> togglePreviewImageFullScreen());
mImageView.setOnClickListener(v -> {
togglePreviewImageFullScreen();
});
mImageView.setOnClickListener(v -> togglePreviewImageFullScreen());
mMultiView = view.findViewById(R.id.multi_view);