1
0
mirror of https://github.com/moparisthebest/Yaaic synced 2024-11-26 02:42:16 -05:00

Removed even more dead code

This commit is contained in:
Sebastian Kaspari 2010-03-08 23:57:38 +01:00
parent 3a7ad82cce
commit fa53df0f41
2 changed files with 1 additions and 16 deletions

View File

@ -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
*/

View File

@ -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);