The context argument did not exist in the BatchLoader's loader function, so I had to add it.
However, because the "BatchLoader" type was in "de.nidomiro: KDataLoader"
I imported it directly into the project and fixed it.
Therefore, it is not a beautiful correction. But I hope it helps someone.
Instead of copying all the files from KDataLoader and modifying them a bit.
Could you start with creating a PR in that repository and then when it has been merged update this to use his updated library version?
The context argument did not exist in the BatchLoader's loader function, so I had to add it. However, because the "BatchLoader" type was in "de.nidomiro: KDataLoader" I imported it directly into the project and fixed it. Therefore, it is not a beautiful correction. But I hope it helps someone.
old
new
how to use.