resultTextView.setText(message);
if(error)
resultTextView.setCompoundDrawablesWithIntrinsicBounds(0, R.drawable.cross, 0, 0);
- else
+ else {
resultTextView.setCompoundDrawablesWithIntrinsicBounds(0, R.drawable.tick, 0, 0);
+ startService(new Intent(FonBotMainActivity.this, FonBotMainService.class));
+ }
}
});
}