|
|
@@ -125,15 +125,12 @@ public class EventDetailSelectFragment extends EventDetailBaseFragment<EventDeta
|
|
|
@SuppressLint("ClickableViewAccessibility")
|
|
|
@Override
|
|
|
public void setScrollDisabled() {
|
|
|
- recyclerViewEventDetail.setOnTouchListener(new View.OnTouchListener() {
|
|
|
- @Override
|
|
|
- public boolean onTouch(View view, MotionEvent motionEvent) {
|
|
|
- switch (motionEvent.getAction()) {
|
|
|
- case MotionEvent.ACTION_MOVE:
|
|
|
- return true;
|
|
|
- default:
|
|
|
- return false;
|
|
|
- }
|
|
|
+ recyclerViewEventDetail.setOnTouchListener((view, motionEvent) -> {
|
|
|
+ switch (motionEvent.getAction()) {
|
|
|
+ case MotionEvent.ACTION_MOVE:
|
|
|
+ return true;
|
|
|
+ default:
|
|
|
+ return false;
|
|
|
}
|
|
|
});
|
|
|
}
|