Open pouyaSamie opened 6 years ago
Hi, it seems there is a problem while I'm trying to update the text of the button in a method like this :
@AskPermission({ Manifest.permission.SEND_SMS, Manifest.permission.ACCESS_FINE_LOCATION, Manifest.permission.INTERNET }) private void ChangeServiceRunning() { btn.setText("Stop Service!"); btn.setBackgroundResource(R.drawable.round_active_button); }
Hi, it seems there is a problem while I'm trying to update the text of the button in a method like this :