From fb2600c53aac731a51459534d1bd5952a5c9ab82 Mon Sep 17 00:00:00 2001 From: David Development Date: Sun, 19 Jul 2015 14:27:59 +0200 Subject: [PATCH] code cleanup --- .../adapter/NewsListRecyclerAdapter.java | 9 --------- 1 file changed, 9 deletions(-) diff --git a/News-Android-App/src/main/java/de/luhmer/owncloudnewsreader/adapter/NewsListRecyclerAdapter.java b/News-Android-App/src/main/java/de/luhmer/owncloudnewsreader/adapter/NewsListRecyclerAdapter.java index 772ef764..ce30c948 100644 --- a/News-Android-App/src/main/java/de/luhmer/owncloudnewsreader/adapter/NewsListRecyclerAdapter.java +++ b/News-Android-App/src/main/java/de/luhmer/owncloudnewsreader/adapter/NewsListRecyclerAdapter.java @@ -47,7 +47,6 @@ public class NewsListRecyclerAdapter extends RecyclerView.Adapter { private LazyList lazyList; private int titleLineCount; private DatabaseConnectionOrm dbConn; - private final int LengthBody = 400; private ForegroundColorSpan bodyForegroundColor; private PostDelayHandler pDelayHandler; private FragmentActivity activity; @@ -149,14 +148,6 @@ public class NewsListRecyclerAdapter extends RecyclerView.Adapter { } } - public static int DpToPx(Context context, int dp) { - Resources r = context.getResources(); - return (int) TypedValue.applyDimension( - TypedValue.COMPLEX_UNIT_DIP, - dp, - r.getDisplayMetrics()); - } - public void setDownloadPodcastProgressbar(View view, RssItem rssItem) { HoloCircularProgressBar pbPodcastDownloadProgress = (HoloCircularProgressBar) view.findViewById(R.id.podcastDownloadProgress);