I think I'm implementing this button click incorrectly. Every time i click it 300KB of memory is taken up. If i keep clicking it, java's garbage collection will eventually clear SOME of the memory used, but not all of it.
Anybody have any idea what I'm missing?
final Button lousbButton = (Button) findViewById(R.id.bButton);
lousbButton.setOnClickListener(
new Button.OnClickListener() {
public void onClick(View v) {
TextView lousText = (TextView) findViewById(R.id.displayText);
if (lousText.length() < 15) {
lousText.setText(lousText.getText() + "B");
fontChange(lousText);
}
}
}
);