mirror of
https://github.com/moparisthebest/Yaaic
synced 2024-11-26 10:52:16 -05:00
Removed even more dead code
This commit is contained in:
parent
3a7ad82cce
commit
fa53df0f41
@ -44,21 +44,6 @@ public class DeckAdapter extends BaseAdapter
|
|||||||
private MessageListView currentView;
|
private MessageListView currentView;
|
||||||
private String currentChannel;
|
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
|
* Get number of item
|
||||||
*/
|
*/
|
||||||
|
@ -97,7 +97,7 @@ public class ServerActivity extends Activity implements ServiceConnection, Chann
|
|||||||
Display d = getWindowManager().getDefaultDisplay();
|
Display d = getWindowManager().getDefaultDisplay();
|
||||||
|
|
||||||
deck = (Gallery) findViewById(R.id.deck);
|
deck = (Gallery) findViewById(R.id.deck);
|
||||||
deckAdapter = new DeckAdapter(d.getWidth(), d.getHeight());
|
deckAdapter = new DeckAdapter();
|
||||||
deck.setAdapter(deckAdapter);
|
deck.setAdapter(deckAdapter);
|
||||||
deck.setOnItemClickListener(this);
|
deck.setOnItemClickListener(this);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user