The 'if' controls never work when I get datas from bundle, please help me.. I need comparison for bundle's data in 'if' block because I have to change textview according to data.
result = getIntent().getExtras();
String get = result.getString("secilen");
if(number == 0) {
imgView.setImageResource( R.drawable.tas );
//txtV.setText(get);
if (get == "A"){ // if even "A" come never read if block
txtV.setText("...");
}
if (get == "B"){
txtV.setText("...");
}
if (get == "C") {
txtV.setText("...");
}
}