[Modify]首充弹窗适配

This commit is contained in:
wushaocheng
2023-02-24 20:46:09 +08:00
parent b927f48bce
commit 0090a3b78a
5 changed files with 36 additions and 13 deletions

View File

@@ -3,10 +3,12 @@ package com.yizhuan.xchat_android_core.pay.bean;
import android.os.Parcel;
import android.os.Parcelable;
import com.chad.library.adapter.base.entity.MultiItemEntity;
import lombok.Data;
@Data
public class FirstChargeReward implements Parcelable {
public class FirstChargeReward implements Parcelable, MultiItemEntity {
public FirstChargeReward() {
}
@@ -14,6 +16,7 @@ public class FirstChargeReward implements Parcelable {
private String showPir;
private String showText;
private String showTime;
private int type;
protected FirstChargeReward(Parcel in) {
showPir = in.readString();
@@ -44,4 +47,13 @@ public class FirstChargeReward implements Parcelable {
return new FirstChargeReward[size];
}
};
public void setType(int type) {
this.type = type;
}
@Override
public int getItemType() {
return type;
}
}