List users= Paper.bookOn(Environment.getExternalStorageDirectory().getPath()).write("contacts5",user);
found io.paperdb.book required java.util.list ,, even i tried to create two uses and added them in list and added list int write parameter , but also states the same
when i used Book user=write function it works fine but not with list .
.Object java.util.List.get(int)' on a null object reference
when reading list .Object java.util.List.get(int)' on a null object reference
even when i try to write as
List users= Paper.bookOn(Environment.getExternalStorageDirectory().getPath()).write("contacts5",user);
found io.paperdb.book required java.util.list ,, even i tried to create two uses and added them in list and added list int write parameter , but also states the same
when i used Book user=write function it works fine but not with list .