From 1cb7c03d63838b416f5362bec5c10f061c34428d Mon Sep 17 00:00:00 2001 From: Tanguy Herbron Date: Sun, 2 Sep 2018 02:08:59 +0200 Subject: [PATCH] Remove useless code --- .../Activities/HomeActivityFragments/Summary.java | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/app/src/main/java/com/herbron/moodl/Activities/HomeActivityFragments/Summary.java b/app/src/main/java/com/herbron/moodl/Activities/HomeActivityFragments/Summary.java index 45ae4a0..17541e2 100644 --- a/app/src/main/java/com/herbron/moodl/Activities/HomeActivityFragments/Summary.java +++ b/app/src/main/java/com/herbron/moodl/Activities/HomeActivityFragments/Summary.java @@ -85,7 +85,6 @@ public class Summary extends Fragment implements BalanceSwitchManagerInterface, private Handler handler; private Runnable updateRunnable; - private Runnable layoutRefresherRunnable; private int coinCounter; private int iconCounter; @@ -126,8 +125,6 @@ public class Summary extends Fragment implements BalanceSwitchManagerInterface, initiateUpdateRunnable(); - initiateLayoutRefresherRunnable(); - refreshLayout.setOnRefreshListener( new SwipeRefreshLayout.OnRefreshListener() { @Override @@ -203,15 +200,6 @@ public class Summary extends Fragment implements BalanceSwitchManagerInterface, }; } - private void initiateLayoutRefresherRunnable() - { - layoutRefresherRunnable = new Runnable() { - @Override - public void run() { - } - }; - } - private void setupAddCurrencyButton(View fragmentView) { Button addCurrencyButton = fragmentView.findViewById(R.id.buttonAddTransaction);