Manual input not saved in Android's DatePicker(Dialog)
Just clear focus, and android will set the number from manual input.
eg:
DatePicker datePicker = findViewById(R.id.dp);
When saving just like onClick()
, add
datePicker.clearFocus();
This must be working.