mirror of
https://github.com/antebudimir/tempus.git
synced 2025-12-31 09:33:33 +00:00
Deleted unused imports
This commit is contained in:
parent
d88094b0cf
commit
677fe5dc60
1 changed files with 2 additions and 2 deletions
|
|
@ -1,5 +1,6 @@
|
|||
package com.cappielloantonio.play.ui.fragment;
|
||||
|
||||
import android.graphics.Color;
|
||||
import android.os.Bundle;
|
||||
import android.view.LayoutInflater;
|
||||
import android.view.Menu;
|
||||
|
|
@ -35,8 +36,6 @@ public class LoginFragment extends Fragment {
|
|||
|
||||
private ServerAdapter serverAdapter;
|
||||
|
||||
private ItemTouchHelper itemTouchHelper;
|
||||
|
||||
@Override
|
||||
public void onCreate(@Nullable Bundle savedInstanceState) {
|
||||
super.onCreate(savedInstanceState);
|
||||
|
|
@ -135,6 +134,7 @@ public class LoginFragment extends Fragment {
|
|||
switch (direction) {
|
||||
case ItemTouchHelper.LEFT:
|
||||
loginViewModel.deleteServer(serverAdapter.getItem(viewHolder.getBindingAdapterPosition()));
|
||||
viewHolder.itemView.setBackgroundColor(Color.RED);
|
||||
break;
|
||||
case ItemTouchHelper.RIGHT:
|
||||
Bundle bundle = new Bundle();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue