卡券条目组件用于显示包含卡券图标、标题以及辅助说明的卡券条目。
效果图
代码示例
AUCouponsItem couponsItem1 = new AUCouponsItem(this);
couponsItem1.setCouponsInfo("小标题","100元代金券","");
couponsItem1.getCouponsImage().setImageResource(R.drawable.image);
AUCouponsItem couponsItem2 = new AUCouponsItem(this);
couponsItem2.setCouponsInfo("","100元代金券","副标题非必填");
AUCouponsItem couponsItem3 = new AUCouponsItem(this);
couponsItem3.setCouponsInfo("小标题","100元代金券","");
couponsItem3.setCouponsAssitDes("483米有门店");
couponsItem3.getCouponsImage().setImageResource(R.drawable.image);
文档内容是否对您有帮助?