AndroidKnife / RxBus

Event Bus By RxJava.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

传递list对象时数据丢失

ArtisanM opened this issue · comments

commented

2017-10-20 3 21 52

2017-10-20 3 22 16

如图,传递前list里有两条数据,subscriber接收到的就变成0条数据了。

event对象结构如下


    public final int code;
    public ArrayList<ImageInfo> data;


    public VerifyEvent(int code) {
        this.code = code;
    }

    public VerifyEvent(int code, ArrayList<ImageInfo> data) {
        this.code = code;
        this.data = data;
    }
commented

发现是自己代码的问题。抱歉