Coupon onClick unfinished code

This commit is contained in:
Bart
2021-01-04 13:44:09 +01:00
parent d96a54863c
commit 547d676a68
2 changed files with 23 additions and 5 deletions

View File

@@ -42,10 +42,14 @@ public class CouponFragment extends Fragment {
CouponListManager.INSTANCE.load();
this.couponList = CouponListManager.INSTANCE.getCouponList();
this.couponAdapter = new CouponAdapter(this.getContext(), this.couponList);
this.couponAdapter = new CouponAdapter(this.getContext(), this.couponList, onClickedItem -> showPopup());
this.couponRecyclerView.setLayoutManager(this.layoutManager);
this.couponRecyclerView.setAdapter(this.couponAdapter);
return view;
}
private void showPopup() {
}
}