mirror of
https://github.com/jfoucry/Pilldroid.git
synced 2024-11-22 04:29:22 +01:00
Optimizations
This commit is contained in:
parent
e42626fbfa
commit
6b6da51894
1 changed files with 0 additions and 1 deletions
|
@ -484,7 +484,6 @@ public class DrugListActivity extends AppCompatActivity {
|
||||||
|
|
||||||
Prescription prescription = prescriptionList.get(position);
|
Prescription prescription = prescriptionList.get(position);
|
||||||
|
|
||||||
|
|
||||||
if (direction == ItemTouchHelper.LEFT) {
|
if (direction == ItemTouchHelper.LEFT) {
|
||||||
prescriptionList.remove(position);
|
prescriptionList.remove(position);
|
||||||
mAdapter.notifyItemRemoved(position);
|
mAdapter.notifyItemRemoved(position);
|
||||||
|
|
Loading…
Reference in a new issue