Skip to content

remove is not supported for LazyList? #906

Closed
@XilinJia

Description

@XilinJia

Basic info (please complete the following information):

  • ObjectBox version (are you using the latest version?): [e.g. 2.7.0]
  • Reproducibility: [always]
  • Device: [e.g. Lenovo K5]
  • OS: [e.g. Android 6]

To Reproduce
Steps to reproduce the behavior:

List<Word> sList = wordBox.query().build().findLazy();
Word w = sList.get(0);
// do something
sList.remove(0);

Got an exception.

Had a peek in LazyList.java:

    @Override
    public E remove(int location) {
        throw new UnsupportedOperationException();
    }

Metadata

Metadata

Labels

documentationImprovements or additions to documentation

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions