1

Wrong comparing of strings from SQLite db

view story
linux-howto

http://stackoverflow.com – I hava some buttons and I set some text to some of them from imported and prepopulated sqlite database. And that works fine. Now I have couple of buttons which open alert dialog for user to enter solution and then I compare it with the correct solution in my database. For columnA, R.id.bKolonaA here in my code, it works fine, it shows me toast with "correct answer" text. But on columnB whenever I enter solution I get "wrong answer" toast, even though I KNOW it's correct. I made sure all my variables used in these methods are different. Below you can see some of my class, important parts, it's (HowTos)