using "if(someEditText.getText().toString == null) " doesnt work
im passing information from this editText into a database. Ive already limited it to 2 characters and numbers only in the xml file, but i need to run a check to fill its defaults to 0 if nothing is entered. I could set its default to 0, but then my hint text would show up. Could someone give me a hand with this? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~----------~----~----~----~------~----~------~--~---