Comparing String to String Not Working when the String came from SQLiteDatabase

后端 未结 2 640
傲寒
傲寒 2020-12-22 12:54

I\'m retrieving string data from my sqlitedatabase and compare in to my local variable. But its not working. It goes like this codes below.

String hole1 = \"         


        
2条回答
  •  鱼传尺愫
    2020-12-22 13:15

    String comp like this would be better

    ().getSelectedItem().toString().equals(hole);
    

提交回复
热议问题