Can someone please tell me why this statement goes on the else branch ?
public boolean isAutoCheckForNewTickets(String accountID) {
settingsTableAdapter = new SettingsTableAdapter(this);
int checkSelected= settingsTableAdapter
.getCheckSelected(accountGUID);
if (checkSelected == 1)
return true;
else
return false;
}
I mention that the checkSelected value is 1 after the database interrogation. It doesn't make any sense for me.
Aucun commentaire:
Enregistrer un commentaire