1
0
mirror of https://github.com/stom79/exodus-android-app synced 2024-12-26 20:42:58 +01:00
This commit is contained in:
Thomas 2020-12-07 10:50:48 +01:00
parent 91f5dea591
commit 883b623d6d

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