Toast.makeText(MainActivity.this, "Position Incorrect!", Toast.LENGTH_SHORT)
.show();
}
}
@Override
<BUG>public boolean onFling(MotionEvent motionEvent, MotionEvent motionEvent1, float v, float v1) {
shortcutsCreation.clearAllLayout();</BUG>
return false;
}
});

Toast.makeText(MainActivity.this, "Position Incorrect!", Toast.LENGTH_SHORT)
.show();
}
}
@Override
public boolean onFling(MotionEvent motionEvent, MotionEvent motionEvent1, float v, float v1) {
if(shortcutsCreation != null)
shortcutsCreation.clearAllLayout();
return false;
}
});
