There is a button for picking time using `timepickerdialog`. I want to set the `error` when time is *not* selected. I tried these codes below. The error occurs but after picking time, it still appears. I need help 

```
if (TextUtils.isEmpty(btnDate.getText().toString())) {    
    btnDate.setError("Bu alan boş olamaz");
    btnDate.requestFocus();

    return false;
}

```