全部产品
云市场

卡券条目组件

更新时间:2019-09-26 18:36:02

效果图

image

依赖

参见 快速开始

代码示例

  1. AUCouponsItem couponsItem1 = new AUCouponsItem(this);
  2. couponsItem1.setCouponsInfo("小标题","100元代金券","");
  3. couponsItem1.getCouponsImage().setImageResource(R.drawable.image);
  4. AUCouponsItem couponsItem2 = new AUCouponsItem(this);
  5. couponsItem2.setCouponsInfo("","100元代金券","副标题非必填");
  6. AUCouponsItem couponsItem3 = new AUCouponsItem(this);
  7. couponsItem3.setCouponsInfo("小标题","100元代金券","");
  8. couponsItem3.setCouponsAssitDes("483米有门店");
  9. couponsItem3.getCouponsImage().setImageResource(R.drawable.image);