- text_date.setOnFocusChangeListener(new View.OnFocusChangeListener() {
- @Override
- public void onFocusChange(View v, boolean hasFocus) {
- if (hasFocus) pickTransactionDate(v);
- }
+ text_date.setOnFocusChangeListener((v, hasFocus) -> {
+ if (hasFocus) pickTransactionDate(v);