code cleanup
This commit is contained in:
parent
458f082ae4
commit
fb2600c53a
1 changed files with 0 additions and 9 deletions
|
@ -47,7 +47,6 @@ public class NewsListRecyclerAdapter extends RecyclerView.Adapter<ViewHolder> {
|
|||
private LazyList<RssItem> 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<ViewHolder> {
|
|||
}
|
||||
}
|
||||
|
||||
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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue