Professional Documents
Culture Documents
if
(spposition.getSelectedItem().toString().equalsIgnoreCase("Manager"))
rate=Double.parseDouble("30000");
else if
(spposition.getSelectedItem().toString().equalsIgnoreCase("Regular"))
rate=Double.parseDouble("20000");
else if
(spposition.getSelectedItem().toString().equalsIgnoreCase("Casual"))
rate=Double.parseDouble("8000");
tvrate.setText(String.valueOf(rate));
}
public void onNothingSelected(AdapterView<?> arg0) {
});