Avatar
0
Vu Luong Anh Pundit
Trả về đúng thứ tự khi dùng Reactive
entityToModelsentitiesblockingGetList
sẽ sai thứ tự. Vấn đề này nên xử lý sao ạ?
    private List entityToModels(List entities) {
        return Reactive.multiple()
            .registers(entities, releasedProjectService::entityToModel)
            .blockingGetList();
    }
  • Answer
reactive
Remain: 5
1 Answer
Avatar
dungtv Explainer
dungtv Explainer
Chỗ này nếu thực sự muốn trả về list theo thứ tự sẽ cần sửa lớp reactive, Anh nghĩ em có thể sort theo điều kiện nào đó xem sao.
Single.blockingGetList
em ạ
  • 0
  • Reply