Android Notepadv1 Tutorial - Persistent mNoteNumber?
- by Chris L.
So I did the Notepadv1 tutorial. It worked great. No problems. I would however like some explanation on why the mNoteNumber remembers the last number of the item I created.
So the class starts as follows:
public class Notepadv1 extends ListActivity {
private int mNoteNumber = 1;
That's fine, I understand that. The only other time the…