Android dev notepad tutorial exercise, annoying empty notes
<p>Hi there I have been doing the notepad exercise and it has a really annoying problem which was fine and I was able to correct it up until exercise 3 which it now doesnt work!
My problem is that currently it will allow empty inputs to create a note, really annoying. 
I was able to fix it using the </p>

<pre><code>String taskName = mTitleText.getText().toString();
if (taskName.equals("")) {finish();}
else {addNote();}
</code></pre>

<p>method but when the full tutorial is completed the method doesnt work anymore. I have tried all sorts of ways of calling it but it still wont do anything, it just posts an empty note. It does register that it is empty but posts it anyway.
Does anyone know how to fix this??</p>

<p>Thanks for your help 
Kris</p>
