I have this code wherein it comes from an intent. The variable is status and such could be final
or notfinal
I was able to alert if I have passed the variable in my current intent. And it shows such alert. Moreover, I want
that my checkbox in my xml will be checked if the status value is final
and if not there will be no check at all. And such does not work. Any help will do. Thanks!
Here's my code snippet:
status = i.getString("a_status");
//alert(status);
if (status =="notfinal")
final_checkbox.setChecked(true);