This commit is contained in:
Thomas 2020-12-07 10:50:48 +01:00
parent 91f5dea591
commit 883b623d6d
1 changed files with 1 additions and 7 deletions

View File

@ -86,13 +86,7 @@ public class ApplicationListAdapter extends RecyclerView.Adapter<RecyclerView.Vi
final ApplicationListViewHolder holder = (ApplicationListViewHolder) viewHolder;
ApplicationViewModel vm = applicationViewModels.get(position);
holder.setViewModel(vm);
//noinspection Convert2Lambda
holder.itemView.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
onAppClickListener.onAppClick(vm, position);
}
});
holder.itemView.setOnClickListener(v -> onAppClickListener.onAppClick(vm, position));
} else //noinspection RedundantSuppression
{
//noinspection unused