- foldersListView.setOnItemClickListener(new AdapterView.OnItemClickListener() {
- @Override
- public void onItemClick(AdapterView<?> parent, View view, int position, long id) {
- // Enable the move button.
- moveButton.setEnabled(true);
- }
+ foldersListView.setOnItemClickListener((AdapterView<?> parent, View view, int position, long id) -> {
+ // Enable the move button.
+ moveButton.setEnabled(true);