[Modify]首充弹窗适配
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user