From 1aa945dd09180d6aa706d9c3bbd284e9dad79499 Mon Sep 17 00:00:00 2001 From: GaidamakUA Date: Mon, 3 Aug 2015 15:09:54 +0300 Subject: [PATCH] Unused classes deleted --- OsmAnd/res/layout/dashboard.xml | 109 ------------------ .../plus/dashboard/NotifyingScrollView.java | 45 -------- 2 files changed, 154 deletions(-) delete mode 100644 OsmAnd/res/layout/dashboard.xml delete mode 100644 OsmAnd/src/net/osmand/plus/dashboard/NotifyingScrollView.java diff --git a/OsmAnd/res/layout/dashboard.xml b/OsmAnd/res/layout/dashboard.xml deleted file mode 100644 index f9a47129c9..0000000000 --- a/OsmAnd/res/layout/dashboard.xml +++ /dev/null @@ -1,109 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/OsmAnd/src/net/osmand/plus/dashboard/NotifyingScrollView.java b/OsmAnd/src/net/osmand/plus/dashboard/NotifyingScrollView.java deleted file mode 100644 index 7c772dc00f..0000000000 --- a/OsmAnd/src/net/osmand/plus/dashboard/NotifyingScrollView.java +++ /dev/null @@ -1,45 +0,0 @@ -package net.osmand.plus.dashboard; - -import android.content.Context; -import android.util.AttributeSet; -import android.widget.ScrollView; - -/** - * @author Cyril Mottier - */ -public class NotifyingScrollView extends ScrollView { - - /** - * @author Cyril Mottier - */ - public interface OnScrollChangedListener { - void onScrollChanged(ScrollView who, int l, int t, int oldl, int oldt); - } - - private OnScrollChangedListener mOnScrollChangedListener; - - public NotifyingScrollView(Context context) { - super(context); - } - - public NotifyingScrollView(Context context, AttributeSet attrs) { - super(context, attrs); - } - - public NotifyingScrollView(Context context, AttributeSet attrs, int defStyle) { - super(context, attrs, defStyle); - } - - @Override - protected void onScrollChanged(int l, int t, int oldl, int oldt) { - super.onScrollChanged(l, t, oldl, oldt); - if (mOnScrollChangedListener != null) { - mOnScrollChangedListener.onScrollChanged(this, l, t, oldl, oldt); - } - } - - public void setOnScrollChangedListener(OnScrollChangedListener listener) { - mOnScrollChangedListener = listener; - } - -}