From fa53df0f41c93f1fb72c2fca58edfe2788e9ac6c Mon Sep 17 00:00:00 2001 From: Sebastian Kaspari Date: Mon, 8 Mar 2010 23:57:38 +0100 Subject: [PATCH] Removed even more dead code --- src/org/yaaic/adapter/DeckAdapter.java | 15 --------------- src/org/yaaic/view/ServerActivity.java | 2 +- 2 files changed, 1 insertion(+), 16 deletions(-) diff --git a/src/org/yaaic/adapter/DeckAdapter.java b/src/org/yaaic/adapter/DeckAdapter.java index e3199a1..1f01271 100644 --- a/src/org/yaaic/adapter/DeckAdapter.java +++ b/src/org/yaaic/adapter/DeckAdapter.java @@ -44,21 +44,6 @@ public class DeckAdapter extends BaseAdapter private MessageListView currentView; private String currentChannel; - private int width; - private int height; - - /** - * Create a new DeckAdapter - * - * @param width - * @param height - */ - public DeckAdapter(int width, int height) - { - this.width = width; - this.height = height; - } - /** * Get number of item */ diff --git a/src/org/yaaic/view/ServerActivity.java b/src/org/yaaic/view/ServerActivity.java index 8ac078c..4787033 100644 --- a/src/org/yaaic/view/ServerActivity.java +++ b/src/org/yaaic/view/ServerActivity.java @@ -97,7 +97,7 @@ public class ServerActivity extends Activity implements ServiceConnection, Chann Display d = getWindowManager().getDefaultDisplay(); deck = (Gallery) findViewById(R.id.deck); - deckAdapter = new DeckAdapter(d.getWidth(), d.getHeight()); + deckAdapter = new DeckAdapter(); deck.setAdapter(deckAdapter); deck.setOnItemClickListener(this);