EventBus 带参数传递

public class TakePicEvent {

    private String imgPath;

    public TakePicEvent(String imgPath) {

        this.imgPath = imgPath;

    }

    public String getImgPath() {

        return imgPath;

    }

    public void setImgPath(String imgPath) {

        this.imgPath = imgPath;

    }

}

你可能感兴趣的:(EventBus 带参数传递)